node package manager

twoqueue

Twoqueue

API

Queue with enqueue(), dequeue(), and dequeueMultiple().

Implementation

Two arrays used as stacks. I tested this to be the fastest implementation on V8.