Skip to content

Commit c4dbe14

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 6305a74 commit c4dbe14

2 files changed

Lines changed: 241 additions & 133 deletions

File tree

0 commit comments

Comments
 (0)