perf: reduce GC pressure by using a branching factor of 16

This commit is contained in:
Simon Cruanes 2024-01-07 23:17:39 -05:00
parent 8dca0ea78d
commit a281476082
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -4,7 +4,7 @@
type 'a iter = ('a -> unit) -> unit
let num_bits = 5
let num_bits = 4
let branching_factor = 1 lsl num_bits
let bitmask = branching_factor - 1