Snippets created by Matt Collins

  • Concurrent Memoization

    Memoize a function in a thread-safe manner. Added a wrapper around the value a. The idea being, that a unit value is represented as a null value at run time and as such the concurrent dictionary throws.

    9 people like this

    Posted: 5 years ago by Matt Collins