A faster way of handling Buffers, or so I say.
Warning: This is technically NOT a real buffer.
You can find the benchmark code here.
Run your own benchmark with:
$ node benchmark/showdown
Buffer x 467,927 ops/sec ±40.33% (65 runs sampled)
fastBuffer x 611,158 ops/sec ±23.73% (68 runs sampled)
$ npm install fast-buffer --save
Installing the latest version
$ npm install git+https://github.com/majimboo/node-fast-buffer.git
or for those without git
$ npm install http://github.com/majimboo/node-fast-buffer/tarball/master
var fastBuffer = require('fast-buffer').fastBuffer;
- Make it 100% node buffer API compatible