Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
dotnet
/
runtime
Public
Notifications
You must be signed in to change notification settings
Fork
5.6k
Star
18.3k
Code
Issues
5k+
Pull requests
644
Discussions
Actions
Projects
Security and quality
70
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Faster optimized frozen dictionary creation (2/n)
- #87630
#87630
Merged
stephentoub
merged 5 commits into
dotnet:main
dotnet/runtime:main
from
adamsitnik:frozenPerf2
adamsitnik/runtime:frozenPerf2
Copy head branch name to clipboard
Jun 16, 2023
Conversation
Commits
5
(5)
Checks
Files changed
Merged
Faster optimized frozen dictionary creation (2/n)
#87630
stephentoub
merged 5 commits into
dotnet:main
dotnet/runtime:main
from
adamsitnik:frozenPerf2
adamsitnik/runtime:frozenPerf2
Copy head branch name to clipboard
Commits
Commits on Jun 14, 2023
use stackalloc for smaller sizes
adamsitnik
committed
204e175
View commit details
Copy full SHA for 204e175
Browse repository at this point
Revert "use stackalloc for smaller sizes", it did not help much
Show description for d2adef7
adamsitnik
committed
d2adef7
View commit details
Copy full SHA for d2adef7
Browse repository at this point
Commits on Jun 15, 2023
let the caller of FrozenHashTable.Create provide the hashcodes, it avoids a closure, index boundary checks and helps with inlining (7% gain)
Show description for d43e99a
adamsitnik
committed
d43e99a
View commit details
Copy full SHA for d43e99a
Browse repository at this point
keys and values are needed for every strategy, lets create them up-front (2-4% gain)
Show description for d4ff38f
adamsitnik
committed
d4ff38f
View commit details
Copy full SHA for d4ff38f
Browse repository at this point
refactor: there is no need to pass entriesLength anymore (hashCodes.Length is the replacement)
adamsitnik
committed
393c27e
View commit details
Copy full SHA for 393c27e
Browse repository at this point
You can’t perform that action at this time.