lukeed/tidyPublic

perf: memoize expression tags

Printing asks for the tag of the same expression many times, and each
call matched on its kind again.
LELuke Edwards authored
35ecb93Patch
Parent7851028
2 files changed+16-0
StackedSplit
crates/tidy/src/js/ast/expr.rs+12 −0
crates/tidy/src/js/ast/mod.rs+4 −0