On Wednesday, 24 May 2017 at 23:56:49 UTC, Timothee Cour wrote:
I could look at source to figure it out but others might wonder and I couldn't find it in the docs in https://dlang.org/library/std/functional/memoize.html whether memoize works per thread (thread local) or globally (__gshared)
I checked the source, and it's thread-local. (Specifically, it's declared as 'static'.)
