zigzap / zap

blazingly fast backends in zig
MIT License
1.99k stars 71 forks source link

Iterate over query params w/o allocations #40

Closed renerocksai closed 4 months ago

renerocksai commented 10 months ago

Note to self: I want a lightweight query param iterator that works on the query string itself and basically just splits between ?/& and =, which never allocates.

renerocksai commented 5 months ago

This might be easier said than done because of encoding.

renerocksai commented 4 months ago

At least getParamStr should do w/o allocator