inital memoize module implementation

Oh right, I hadn't noticed there is one single `WeakMap` for all caches. Still, it looks like a shell variable or some other oddity; I would downcase it. If you think it needs emphasis, write a comment where it is declared.