Fast ring-buffer deque (double-ended queue)
Full Changelog: https://github.com/gammazero/deque/compare/v0.2.0...v0.2.1
Note, this is a breaking change. Upgrading from v0.1.x to v0.2.x requires code changes.
Add RIndex
function. Same as Index
but searches in opposite direction.
Index
, Insert
, Remove
for doing operations in the middle of the queuenil
Deque behaves like an empty Deque that cannot store values, with Len()
and Cap()
returning 0