Files
node/lib
Anton Khlynovskiy e3421ac296 lib: freelist: use .pop() for allocation
Array#pop() is known to be faster than Array#shift().
To be exact, it's O(1) vs. O(n). In this case there's no difference
from which side of the "pool" array the object is retrieved,
so .pop() should be preferred.

PR-URL: https://github.com/nodejs/node/pull/2174
Reviewed-By: mscdex - Brian White <mscdex@mscdex.net>
Reviewed-By: jasnell - James M Snell <jasnell@gmail.com>
Reviewed-By: ofrobots - Ali Ijaz Sheikh <ofrobots@google.com>
2016-03-02 13:31:12 -05:00
..
2015-10-08 17:32:08 -07:00
2016-02-08 23:00:55 +11:00
2016-02-18 14:02:56 +11:00
2016-01-18 07:42:06 -06:00
2016-02-08 23:01:16 +11:00
2016-02-08 23:01:16 +11:00
2016-02-08 23:01:05 +11:00
2016-01-06 11:52:55 -05:00
2016-01-18 07:42:06 -06:00
2016-02-18 14:03:01 +11:00
2015-01-31 23:47:29 -05:00