Skip to content

Commit 85da567

Browse files
committed
url: speed up URLSearchParams
Parse query strings with indexOf instead of a per-character state machine, skip ToString when values are already strings, cache toString() until the list mutates, and join serialized pairs. Signed-off-by: Yagiz Nizipli <yagiz@nizipli.com> Co-authored-by: Yagiz Nizipli <anonrig@users.noreply.github.com>
1 parent f83e7df commit 85da567

2 files changed

Lines changed: 215 additions & 134 deletions

File tree

0 commit comments

Comments
 (0)