perf(compiler): 45x speedup. Cache the attribute keys.