Skip to content

Commit f7ba64a

Browse files
anonrigcursoragent
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 <yagiz@nizipli.com> Assisted-by: Cursor Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1 parent f83e7df commit f7ba64a

2 files changed

Lines changed: 215 additions & 134 deletions

File tree

0 commit comments

Comments
 (0)