Presumably we don't care too much about performance overhead because we assume that `memoize` is likely to be called on expensive functions