Tweak mark_object to avoid a conditional branch
commit3d3923b79fe103ba66838db04aa9460cf990e565
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Apr 2018 20:08:36 +0000 (18 13:08 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 18 Apr 2018 20:15:26 +0000 (18 13:15 -0700)
tree13066615670c76a0f9d9e0edd090dbe7d2caad83
parent53c29c4d3c636c7f02b563b3c683b13ae5863bcf
Tweak mark_object to avoid a conditional branch

* src/alloc.c (LAST_MARKED_SIZE): Now an enum.  Make it a power of 2.
(mark_object): Take advantage of the power of 2.
etc/DEBUG
src/alloc.c