Message from JavaScript discussions

September 2017

— 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

— 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

Message permanent page

— 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