summary refs log tree commit diff stats
path: root/tests/misc/tinvalidarrayaccess2.nim
diff options
context:
space:
mode:
authorBrent Pedersen <bpederse@gmail.com>2019-02-10 00:49:54 -0700
committerAndreas Rumpf <rumpf_a@web.de>2019-02-13 23:30:14 +0100
commitfe26328a196a3c426f059a36660cccf1a86928b7 (patch)
tree130fac956e9bbcdcdb4798d11a5032ba54e6ed21 /tests/misc/tinvalidarrayaccess2.nim
parent779c51c29b7d78ec57ac2b50d2a1fe01056dbf5c (diff)
downloadNim-fe26328a196a3c426f059a36660cccf1a86928b7.tar.gz
sets: avoid calling countBits32 for 0 (#10619)
this speeds up the system.sets time from ~0.2 to ~0.06
in release mode. This is still slower than intsets and
tables (which both are ~0.01).

This assumes that most sets will be sparse.

fixes #10617
Diffstat (limited to 'tests/misc/tinvalidarrayaccess2.nim')
0 files changed, 0 insertions, 0 deletions