6 ms·
Oh hey this is exactly why I made node-windows-readdir-fast - especially with the way node works, this makes reading filenames and length and times around 50x f
by xfeeefeee 7mo ago
Oh hey this is exactly why I made node-windows-readdir-fast - especially with the way node works, this makes reading filenames and length and times around 50x faster
https://github.com/xfeeefeee/node-windows-readdir-fast https://github.com/xfeeefeee/node-windows-readdir-fast
https://www.npmjs.com/package/node-windows-readdir-fast https://www.npmjs.com/package/node-windows-readdir-fast
Windows only of course, but the concept is sound. Was also fun benchmarking to find out that parsing a binary stream was faster than creating a ton of objects through the node api (or json deserialization)