Skip to content
New issue

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

Speed up Hash lookups with constants #439

Merged
merged 1 commit into from
Dec 12, 2016

Commits on Dec 12, 2016

  1. Speed up Hash lookups with constants

    Since we are always looking up these hashes with an identical duplicate (not just the same value, the same object) we can take advantage of Hash.compare_by_identity.
    
    Suggested by @dgynn in #383 (comment)
    schneems committed Dec 12, 2016
    Configuration menu
    Copy the full SHA
    0390c31 View commit details
    Browse the repository at this point in the history