NonMoving: Optimize bitmap search during allocation
authorBen Gamari <ben@smart-cactus.org>
Sat, 11 May 2019 15:55:42 +0000 (11:55 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 17 May 2019 17:02:44 +0000 (13:02 -0400)
commit03e87635a8db9bc2b8efb0cb95773875097447dc
tree118a625991ca16f78c46b449c9ca4be39f02e666
parent19eba5fab3d509d9dbb373de02a398b04131f464
NonMoving: Optimize bitmap search during allocation

Use memchr instead of a open-coded loop. This is nearly twice as fast in
a synthetic benchmark.
rts/sm/NonMoving.c