Commit 83524b3c authored by Trevor Norris's avatar Trevor Norris
Browse files

node: fix erroneously named function call

The initial implementation of setPropByIndex() set the value of an Array
by index during development. Though the final form of the function
simply pushes passed values to an array as passed by arguments. Thus the
functions have been renamed to pushValueToArray() and
push_values_to_array_function() respectively.

Also add define for maximum number of arguments should be used before
hitting the limit of performance increase.

Fixes: 494227bb "node: improve GetActiveRequests performance"
PR-URL: https://github.com/nodejs/node/pull/3780


Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
parent 32ac3769
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment