summary refs log tree commit diff stats
path: root/lib/windows
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-10 08:49:54 +0100
commit0c9a3d48042fc28978dd01020e3a759a55b0e04c (patch)
treed6cb359921faeb94caf78d5905cd605707faa9d3 /lib/windows
parentf1ae0ed6ea9b15e86f437e836d6a255630e4b181 (diff)
downloadNim-0c9a3d48042fc28978dd01020e3a759a55b0e04c.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 'lib/windows')
0 files changed, 0 insertions, 0 deletions