persistentlyMemoizedCall

Persistently Call Function fun with arguments args.

Hash Id Build-Timestamp (Code-Id because we currently have stable way of hashing-algorithms) is Constructed from Data Structure: - Hierarchically Mangled Unqual!typeof(instance) - Use msgpack in combination with sha1Of or only sha1Of (with extended overloads for sha1Of) if available.

Extend std.functional : memoize to accept pure functions that takes an immutable mmap as input. Create wrapper that converts file to immutable mmap and performs memoization on the pure function.

persistentlyMemoizedCall
(
alias fun
T...
)
()
if (
isPure!fun &&
isCallable!(fun, args)
)

Meta