Vesa Karvonen

Results 96 issues of Vesa Karvonen

This is useful for avoiding code bloat.

For some reason `#thread;;` does not always work: ``` ────────┬─────────────────────────────────────────────────────────────┬──────── │ Welcome to utop version 2.14.0 (using OCaml version 5.1.1)! │ └─────────────────────────────────────────────────────────────┘ Findlib has been successfully loaded. Additional directives: #require...

This essentially uses a "lazy" semi-immutable queue implemented using a mutable spine that is updated incrementally such that every operation on the queue is O(1). The lazy queue is then...

For background, see [PR in multicore-magic](https://github.com/ocaml-multicore/multicore-magic/pull/13). This seems to give up to 40%-70% performance improvement in some cases and seems to generally improve performance. The reason for the speed up...

I noticed recently that `Ownership.own`: https://github.com/robur-coop/miou/blob/072de4fb6588d4bc2930d0fdd2e1672101fb58cf/lib/miou.ml#L985-L993 does not check whether the resource is already owned by some _other_ fiber (or promise). Currently, if you call `Ownership.own` on a resource that...

It seems that using shallow effect handlers makes things slower, as show by the "**Picos Current**" benchmark, which currently uses an effect, without reducing memory usage, as shown by the...

WIP - not yet fully implemented.

Work-in-progress...