1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/ext/url
Aaron O'Mullan bf0bacbc0e
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)
2021-08-18 23:21:33 +02:00
..
benches Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
00_url.js perf(ext/url): cleanup and optimize url parsing op args (#11763) 2021-08-18 23:21:33 +02:00
Cargo.toml perf(ext/url): cleanup and optimize url parsing op args (#11763) 2021-08-18 23:21:33 +02:00
internal.d.ts Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
lib.deno_url.d.ts Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00
lib.rs perf(ext/url): cleanup and optimize url parsing op args (#11763) 2021-08-18 23:21:33 +02:00
README.md Rename extensions/ directory to ext/ (#11643) 2021-08-11 12:27:05 +02:00

deno_url

This crate implements the URL API for Deno.

Spec: https://url.spec.whatwg.org/