summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
authorRex Kerr <ichoran@gmail.com>2013-09-09 14:28:41 -0700
committerRex Kerr <ichoran@gmail.com>2013-09-09 14:38:43 -0700
commitf812a4c1ecef008107a1a824baea5a3889dad344 (patch)
tree1cb2424a97d7055e03f3639139593c2bf643b370 /test/files/neg
parente3968a5a40b09218990f2f7bc3e449d68cd2cf02 (diff)
downloadscala-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