#push #arraylist #array-list

bin+lib tryingarraylist

a simple arraylist implementation

3 releases

0.1.2 Apr 1, 2024
0.1.1 Apr 1, 2024
0.1.0 Apr 1, 2024

#877 in Data structures

MIT license

18KB
354 lines

Arraylist

a simple arraylist implementation written in rust

let x = Arraylist::new();
x.push(5);
x.push(1);
x.push(4);
x.push(3);
x.push(2);
x.sort();
println!("{:?}",x); //[1,2,3,4,5]

Dependencies

~0.4–1MB
~22K SLoC