Skip to content

Commit 7d5428c

Browse files
anonrigaduh95
authored andcommitted
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 <[email protected]> Assisted-by: Cursor PR-URL: #65363 Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Gürgün Dayıoğlu <[email protected]> Reviewed-By: Aviv Keller <[email protected]>
1 parent bc54dd8 commit 7d5428c

2 files changed

Lines changed: 241 additions & 133 deletions

File tree

0 commit comments

Comments
 (0)