Comparing version 2.1.0 to 2.1.1
@@ -0,1 +1,6 @@ | ||
2.1.1 / 2017-11-18 | ||
------------------ | ||
- Performance optimization [#27](https://github.com/jprichardson/node-klaw/pull/27) | ||
2.1.0 / 2017-08-10 | ||
@@ -2,0 +7,0 @@ ------------------ |
{ | ||
"name": "klaw", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "File system walker with Readable stream interface.", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -44,3 +44,4 @@ var assert = require('assert') | ||
if (self.options.pathSorter) pathItems.sort(self.options.pathSorter) | ||
pathItems.forEach(function (pi) { self.paths.push(pi) }) | ||
// faster way to do do incremental batch array pushes | ||
self.paths.push.apply(self.paths, pathItems) | ||
@@ -47,0 +48,0 @@ self.push(item) |
12869
46