I've just published a new blog post from Victor Porton. He shows two ways to handle memoization in D. The blog: https://dlang.org/blog/2019/03/30/memoization-in-the-d-programming-language/ Reddit: https://www.reddit.com/r/programming/comments/b7augl/memoization_in_the_d_programming_language/