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: 0cb3433d9c8c
Choose a base ref
...
head repository: jruby/jruby
compare: cb4581c2005f
Choose a head ref
  • 4 commits
  • 1 file changed
  • 2 contributors

Commits on May 5, 2014

  1. Avoid manual unroll of non-hot SipHash loops

    As these loops will be executed only once for every #hash invokation,
    it would make sense to defer the decision to unroll the loops to the
    runtime.
    grddev committed May 5, 2014
    Copy the full SHA
    23570f5 View commit details
    Browse the repository at this point in the history
  2. Hoist SipHashInline range checks

    In principle, this should allow the JIT compiler to remove all range
    checks within the loop. I haven't had time to verify this though.
    grddev committed May 5, 2014
    Copy the full SHA
    43b2ef4 View commit details
    Browse the repository at this point in the history
  3. Use Unsafe to read a long at a time

    While one could wish that JIT compilation optimised the eight sequential
    byte reads into a single long read, it in fact does not.
    
    This implementation should fallback to the slow implementation in a
    context where Unsafe fails to load, but I haven't figured out how to
    test that properly.
    grddev committed May 5, 2014
    Copy the full SHA
    c02fcd7 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2014

  1. Merge pull request #1681 from grddev/unsafe-siphash-opt

    Optimize SipHash using sun.misc.Unsafe
    headius committed Nov 2, 2014
    Copy the full SHA
    cb4581c View commit details
    Browse the repository at this point in the history