Twoqueue
API
Queue with enqueue(), dequeue(), and dequeueMultiple().
Implementation
Two arrays used as stacks. I tested this to be the fastest implementation on V8.
GitHub - nsabovic/twoqueue: JS Queue optimized for V8
This repository was archived by the owner on Nov 7, 2018. It is now read-only.
Queue with enqueue(), dequeue(), and dequeueMultiple().
Two arrays used as stacks. I tested this to be the fastest implementation on V8.