We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
So a ContainsKey + Item lookup takes approx twice as long as a TryGetValue
ContainsKey
TryGetValue
While this is a micro-optimization the correct approach, that uses TryGetValue, is actually just as readable.
The text was updated successfully, but these errors were encountered:
reduce Dict lookups
8bb0596
fixes #1627
Successfully merging a pull request may close this issue.
So a
ContainsKey
+ Item lookup takes approx twice as long as aTryGetValue
While this is a micro-optimization the correct approach, that uses
TryGetValue
, is actually just as readable.The text was updated successfully, but these errors were encountered: