-
-
Notifications
You must be signed in to change notification settings - Fork 925
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4cccba88d21b
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e5d2c30a9b97
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 8 files changed
- 1 contributor
Commits on Dec 27, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 50f6a5f - Browse repository at this point
Copy the full SHA 50f6a5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 247582e - Browse repository at this point
Copy the full SHA 247582eView commit details -
Faster impl (10x) of hash_le using Set.containsAll.
For benchmark: ```ruby hash1 = {} 1000.times.map{|i| hash1[i] = i**2} hash2 = hash1.dup loop { puts Benchmark.measure { 1000.times { hash1 <= hash2 } } } ``` Before: ``` 0.750000 0.040000 0.790000 ( 0.352352) 0.330000 0.020000 0.350000 ( 0.271167) 0.290000 0.010000 0.300000 ( 0.254097) 0.300000 0.020000 0.320000 ( 0.285778) 0.370000 0.010000 0.380000 ( 0.261517) ``` After: ``` 0.180000 0.010000 0.190000 ( 0.049955) 0.090000 0.000000 0.090000 ( 0.026507) 0.070000 0.000000 0.070000 ( 0.024796) 0.050000 0.000000 0.050000 ( 0.024865) 0.050000 0.010000 0.060000 ( 0.024754) ``` MRI 2.3: ``` 0.030000 0.000000 0.030000 ( 0.028554) 0.030000 0.000000 0.030000 ( 0.028792) 0.030000 0.000000 0.030000 ( 0.029427) 0.030000 0.000000 0.030000 ( 0.027711) 0.030000 0.000000 0.030000 ( 0.028578) ```
Configuration menu - View commit details
-
Copy full SHA for cc23c68 - Browse repository at this point
Copy the full SHA cc23c68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4886125 - Browse repository at this point
Copy the full SHA 4886125View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27425c2 - Browse repository at this point
Copy the full SHA 27425c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e11bab - Browse repository at this point
Copy the full SHA 7e11babView commit details -
Configuration menu - View commit details
-
Copy full SHA for d87e33e - Browse repository at this point
Copy the full SHA d87e33eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5d2c30 - Browse repository at this point
Copy the full SHA e5d2c30View commit details
There are no files selected for viewing