denoland / deno_ast

Source text parsing, lexing, and AST related functionality for Deno
https://crates.io/crates/deno_ast
MIT License
144 stars 43 forks source link

perf: lazily create `SourceTextInfo` #254

Closed dsherret closed 2 months ago

dsherret commented 2 months ago

This is taking 2% of execution in a benchmark I have. We don't need to create this when transpiling in Deno.