import { memoize } from "https://deno.land/x/fun@v.2.0.0-alpha.11/fn.ts";
Memoize a unary function using a Map. This means that this algorithm puposefully leaks memory.
TODO: Extend memoize to be variadic.
import { memoize } from "https://deno.land/x/fun@v.2.0.0-alpha.11/fn.ts";
Memoize a unary function using a Map. This means that this algorithm puposefully leaks memory.
TODO: Extend memoize to be variadic.