Skip to content
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

querystring: use String.prototype.split's limit #2288

Closed
wants to merge 1 commit into from

Commits on Jan 31, 2016

  1. querystring: use String.prototype.split's limit

    There's no need to add extra logic for it, `String.prototype.split`
    already has a `limit` argument. By using this argument we avoid keeping
    the whole array in memory, and V8 doesn't have to process the entire
    string.
    Manuel Valls committed Jan 31, 2016
    Configuration menu
    Copy the full SHA
    91a6cab View commit details
    Browse the repository at this point in the history