Gabriel Scherer
Gabriel Scherer
I rebased the PR to please some CI checks, with only minor changes.
Thanks! I'm happy to have a look at implementing `(files ...)`, but could there be a way to make this a recursive setting that applies to subdirectories as well? This...
Note: I have not had any time to look at this again, but this remains a feature that would be very useful for using `dune` in the compiler for Merlin...
I haven't had time to revisit this PR, but at the same time it would be very convenient if it (or something like this) would be available in Dune today...
Thanks! (Indeed it is not clear to me that configuration information is available at the place I tweaked in the code, and I don't know how easy and elegant it...
(cc @kayceesrk, @gadmm, @lpw25, with whom I discussed Lazy design in the past. This is not intended to be a final answer -- and the name leaves room open for...
@kayceesrk thanks for your kind review. I updated the PR to take your comments into account, and also fix a couple other documentation glitches I found during self-review. @kit-ty-kate wrote:...
`hyperfine` appears to indicate that a given microbenchmark is 70% slower with Lazy.Atomic_repeating. ``` $ hyperfine -L impl Lazy.Atomic_repeating,Lazy --command-name {impl} "IMPL={impl} NITERS=10_000 N=1000 ./test.exe" [...] Summary Lazy ran 1.69...
> My assumption would be that when there is an actual race between multiple force, the first one is expected to almost always win. If the initialization function is reasonably...
@chambart in fact there are two ways in which we can drop exceptions with the implementation as currently presented: 1. If the `discard` function is called (when discarding a value...