2 releases

Uses old Rust 2015

0.1.1 Mar 30, 2015
0.1.0 Feb 27, 2015

#2179 in Algorithms

Download history 35/week @ 2023-08-08 38/week @ 2023-08-15 14/week @ 2023-08-22 24/week @ 2023-08-29 52/week @ 2023-09-05 22/week @ 2023-09-12 20/week @ 2023-09-19 23/week @ 2023-09-26 24/week @ 2023-10-03 34/week @ 2023-10-10 39/week @ 2023-10-17 35/week @ 2023-10-24 39/week @ 2023-10-31 42/week @ 2023-11-07 32/week @ 2023-11-14 42/week @ 2023-11-21

159 downloads per month
Used in 3 crates

LGPL-3.0+

14KB
273 lines

#GapBuffer

This library implements a gapbuffer, a dynamic array in which the unused portion of the array is shifted on insertion & removal. This optimizes for insertions and removals which could occur at any point in the file but tend to occur in localized clusters.

It is currently implemented with a backing RingBuf.

No runtime deps