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>
Wed, 19 Jun 2019 01:42:04 +0000 (21:42 -0400)
commit074000f7086967643ce923cbf5c8cebcc2a5f868
treec6d4845621004506b936dbffd6dbc35a9a930973
parent3d9b5d9b2310e614d144635e6da4d3aa1e30c01f
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