diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-08-18 23:21:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-18 23:21:33 +0200 |
commit | bf0bacbc0ec3bd7ef1c55ddc01ef44b2ce593d4a (patch) | |
tree | b0a39f028e22e3a7270bb711d146f87baeeece33 /cli/lsp/language_server.rs | |
parent | e55454613cd5ad04c427a49c4287e60b1563c32e (diff) |
perf(ext/url): cleanup and optimize url parsing op args (#11763)
This splits the previous `op_url_parse` into:
- `op_url_parse`: parses a href with an optional base
- `op_url_reparse`: reparses a href with a modifier
This is a cleaner separation of concerns and it allows us to optimize & simplify args passed. Resulting in a 25% reduction in call overhead (~5000ns/call => ~3700ns/call in url_ops bench on my M1 Air)
Diffstat (limited to 'cli/lsp/language_server.rs')
0 files changed, 0 insertions, 0 deletions