diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2016-03-29 10:23:36 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2016-03-29 10:24:31 +1000 |
commit | 8b2e616c75026484fcfb75c4fdb50f2f94fda4e6 (patch) | |
tree | 440764fac59de07649530fc1027a6ee7896491f2 /gitconfig.SAMPLE | |
parent | eb6e29d27eb9cac0430fb34c485788cf3108fe00 (diff) | |
download | scala-8b2e616c75026484fcfb75c4fdb50f2f94fda4e6.tar.gz scala-8b2e616c75026484fcfb75c4fdb50f2f94fda4e6.tar.bz2 scala-8b2e616c75026484fcfb75c4fdb50f2f94fda4e6.zip |
Use Java's highestOneBit, rather than our own versions.
The original code came from 2008, (a4ace382), at which point
we probably couldn't use JDK 1.5+ methods.
I haven't changed `unsignedCompare` yet to use the standard
library version, as it our version might have different
performance characteristics.
Background: http://www.drmaciver.com/2008/08/unsigned-comparison-in-javascala/
Diffstat (limited to 'gitconfig.SAMPLE')
0 files changed, 0 insertions, 0 deletions