mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 04:42:10 +00:00
The sourcemap implement port from [rust-sourcemap](https://github.com/getsentry/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()` caused extra overhead at common cases. Here using `SourceViewToken` to instead of it.
4 lines
No EOL
300 B
Markdown
4 lines
No EOL
300 B
Markdown
The sourcemap implement port from [rust-sourcemap](https://github.com/getsentry/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()`. |