c-cube / moonpool

Commodity thread pools and concurrency primitives for OCaml 5
https://c-cube.github.io/moonpool/
54 stars 4 forks source link

perf: improve pool #2

Closed c-cube closed 1 year ago

c-cube commented 1 year ago

this shows some real differences on test/t_tree_futs.exe at N=18 or 19. hyperfine shows we go from 3.6s to 3.06s for N=18; and from 7.7s to 6.23s for N=19