Rewrite memoization utils for lock-free anti-contention (better performance)
v1.3.0