#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

#1605 in Data structures

Download history 6/week @ 2024-02-25 155/week @ 2024-03-31

155 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

~175KB