Do not memoize functions with continuous input.