transform-expression is now memoized - performance improvements