Allan Renucci
Allan Renucci
A few years ago, I wrote micro-benchmarks for Dotty lazy val implementations: https://github.com/allanrenucci/dotty-benchmark/tree/lazy-vals-v2 You may be interested in running these benchmarks against the new implementation.
I don't fully remember what these objects refer to. `LazyVolatile` looks very similar to [scala.runtime.LazyVals](https://github.com/lampepfl/dotty/blob/main/library/src/scala/runtime/LazyVals.scala). Not sure about `LazySimCellWithPublicBitmap `.
Maybe the initialised read case should come first. I suspect this is the most common case. I.e. ```scala def x: A = while true do val current: AnyRef = _x...
I'd say blocked on scalacenter/scastie#281 for now. Also if I remember correctly, at the time we discussed this we didn't really settle on a common code snippet
Closing due to inactivity.
`CreateCollectiveMemoryAllocatorFailsForExcessiveSize` causes issues with our internal infrastructure. We can't merge this PR until we figure this out.
Sorry, I didn't mean to suggest that there is an issue with the test but rather with our internal infrastructure. The test causes a kernel panic.