September 2017
— Hm, those call things for take and add can be replaced with:
call
take
add
this.take = () => take.call(this);this.add = value => add.call(this, value);
Message permanent page
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!
— Winner!
— 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
— Https://www.measurethat.net/Benchmarks/Show/1831/3/array-stackqueue-vs-custom-stackqueue
— Better, still not as fast as I'd like
— Https://www.measurethat.net/Benchmarks/Show/1832/3/array-stackqueue-vs-custom-stackqueue-2
— Yo boys
— Any advice on a jsonp micro package on npm?
— I need just a request
— Wat
— Lol