ocaml-multicore / kcas

Software Transactional Memory for OCaml
https://ocaml-multicore.github.io/kcas/
ISC License
109 stars 11 forks source link

Avoid an allocation on `Hashtbl.remove` #135

Closed polytypic closed 11 months ago

polytypic commented 1 year ago

This PR avoids an allocation on Hashtbl.remove by using exceptions instead. The performance difference is tiny if any.