43081j / picoquery

A small library for parsing and serializing query strings
MIT License
70 stars 2 forks source link

perf: track dot in parsing #10

Closed 43081j closed 4 months ago

43081j commented 4 months ago

Tracks the existence of . in parsing rather than using indexOf. Speeds it up a small amount since we already saw the character, so we're doing one check instead of two.