This is similar to CLJS-2065 and further improves the performance by avoiding {{reduce}} and using a key iterator instead.
Results for a large CLJS project with lots of namespaces are:
- Initial compile (cold) Old: 11.4s New: 11.2s
- First full recompile: Old: 6.8s New: 5.9s
- After a few full recompiler (warmed up JVM): Old: ~6.1s New: 5.1s
{{lein count}}:
| Ext | Files | Lines of Code | Nodes |
| cljs | 138 | 23388 | 424745 |