Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
base: 4116c0c6da72
Choose a base ref
...
head repository: jruby/jruby
compare: 9eeaf21d819a
Choose a head ref
  • 3 commits
  • 2 files changed
  • 2 contributors

Commits on Jul 13, 2018

  1. Refactor RubyHash to be more performant

    This commit basically implements two approaches
    to improve the performance of RubyHash:
    
    Switching from closed addressing hashing (double linked list)
    to open addressing hashing because of better cache locality.
    Furthermore we removed almost all RubyHashEntry objects
    for smaller memory allocation (which helps for better cache
    locality as well).
    
    Further more small hashes (less than 8 entires) are now
    implemented via a linear search which reduces memory
    allocation for a buckets. For fast bucket skips we maintain
    in this case a hashes array to cache the hash values.
    
    Implements #4708 & #2989
    ChrisBr committed Jul 13, 2018
    Configuration menu
    Copy the full SHA
    09965f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    573b72a View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2018

  1. Configuration menu
    Copy the full SHA
    9eeaf21 View commit details
    Browse the repository at this point in the history