— But for now I am stuck using a factory
Hm, those call things for take and add can be replaced with:
this.take = () => take.call(this);this.add = value => add.call(this, value);
— Mm, I was creating new ones per-test... Moving the creation out of the test and pre-allocating 50 million indexes each gets me this!
Message permanent page
— Final verdict is I don't need the custom implementation. shift/pop are far superior for the number of elements I expect to be in the array
— Better, still not as fast as I'd like
— Yo boys
— Any advice on a jsonp micro package on npm?
— I need just a request