oxc/crates/oxc_sourcemap
dalaoshu d18c896a2c
perf(rust): use cow_utils instead (#5664)
Related to #5586 and #5662

---------

Co-authored-by: Boshen <boshenc@gmail.com>
2024-09-11 18:39:30 +08:00
..
src perf(rust): use cow_utils instead (#5664) 2024-09-11 18:39:30 +08:00
Cargo.toml perf(rust): use cow_utils instead (#5664) 2024-09-11 18:39:30 +08:00
CHANGELOG.md release(oxc): crates v0.28.0 (#5696) 2024-09-11 17:57:55 +08:00
README.md docs(sourcemap): add trailing newline to README (#5539) 2024-09-06 15:24:52 +01:00

The sourcemap implement port from rust-sourcemap, but has some different with it.

  • Encode sourcemap at parallel, including quote sourceContent and encode token to vlq mappings.
  • Avoid Sourcemap some methods overhead, like SourceMap::tokens().