Copy contiguous ASCII path/query runs in one slice append, instead of processing each code point individually. Fall back to the normal state machine for delimiters, percent escapes, non-ASCII input, and validation cases. This gives a 2.4x speedup on a benchmark parsing common web URLs. |
||
|---|---|---|
| .. | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| cbindgen.toml | ||