diff options
author | Rex Kerr <ichoran@gmail.com> | 2013-09-09 14:28:41 -0700 |
---|---|---|
committer | Rex Kerr <ichoran@gmail.com> | 2013-09-09 14:38:43 -0700 |
commit | f812a4c1ecef008107a1a824baea5a3889dad344 (patch) | |
tree | 1cb2424a97d7055e03f3639139593c2bf643b370 /test/files/neg | |
parent | e3968a5a40b09218990f2f7bc3e449d68cd2cf02 (diff) | |
download | scala-f812a4c1ecef008107a1a824baea5a3889dad344.tar.gz scala-f812a4c1ecef008107a1a824baea5a3889dad344.tar.bz2 scala-f812a4c1ecef008107a1a824baea5a3889dad344.zip |
SI-7708 - Improve Bitset foreach performance
1. Switched inner for loop for a while loop to enable early exit when bitset
is sparse.
2. Switched outer for loop for while loop for performance.
3. Changed WordLength and friends to final for performance.
New version runs in 60% of time of old on dense bitsets, faster if highly
sparse. No tests committed (requires performance testing framework).
Diffstat (limited to 'test/files/neg')
0 files changed, 0 insertions, 0 deletions