memoize reflection functions
Merge branch 'master' into memoize-reflection
cache maybe-class, major speedup
use an atom in clear-locals instead of mutating a var
perf enhancements on clear-locals