43081j / picoquery

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

perf: parse keys during parsing #15

Closed 43081j closed 5 months ago

43081j commented 5 months ago

Instead of parsing and encoding keys after having already iterated over the query string, this computes them throughout.

This results in a small drop in performance for non-nested queries but greatly increases performance for all other cases.