#double-ended #back #front #vector #grow #index #backward

nightly two-sided-vec

Double ended vectors for rust, which can grow in both the front and back

12 releases

0.1.11 Jan 20, 2021
0.1.10 Aug 16, 2020
0.1.9 Apr 30, 2020
0.1.7 Feb 26, 2020
0.1.1 Mar 5, 2018

#1670 in Data structures

28 downloads per month

MIT license

47KB
1K SLoC

TwoSidedVec crates.io

A vector that can grow both forwards and backwards.

It's effectively equivelant two seperate back and front vectors, with the back elements accessed by negative indexes.

Dependencies

~170KB