ocaml-multicore / picos

Interoperable effects based concurrency
https://ocaml-multicore.github.io/picos/doc/picos/index.html
ISC License
86 stars 3 forks source link

add `Picos.Computation.peek_exn` #245

Closed c-cube closed 1 month ago

c-cube commented 1 month ago

peek is often used in the fast path of some operations, so ideally it should not allocate.

c-cube commented 1 month ago

Thanks! :grin: