1.1.0 • Published 8 years ago

simple-q v1.1.0

Weekly downloads
13
License
Apache-2.0
Repository
github
Last release
8 years ago

Simple Queue

simple-queue is an efficient, simple, first in first out data structure for node apps.

Internally, the array storing objects is only resized when necessary, trading memory for speed. An offset is used to keep track of the start of the queue. This minimizes expensive shift() operations.

The queue operations have constant time complexity amortized over time, and the queue itself has linear space complexity.

Easily install via npm with npm install simple-q.

1.1.0

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago