-
-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configurable parametersLimit #20
Comments
I agree completely, this goes along nicely with #18 as well. |
Closed via a5422fc |
Holy moley, parsing a flat list of 2000 parameters takes 1710ms on my machine, but < 10ms for |
(P.S. yes, I understand this module does more than |
Looks like for my test, the clone occurring at the top of |
Hmm.. I think you're right and we don't need the clone, since we're never calling merge on user input and we don't care if we mutate our own object. I'll open a new issue. |
It would be nice if the second parameter was just an object to specify the options like the separator, parametersLimit, etc. Or maybe copy the interface of https://github.com/joyent/node/blob/v0.10.24/lib/querystring.js#L160 (though I think just a single second options argument is good enough).
Inspiration: expressjs/body-parser#41
The text was updated successfully, but these errors were encountered: