add memoize functions that can be used instead of cacheit

Whereas cacheit can be disabled, the memoize functions will always
be active.`