Expand description
- Vector to use for parallel running. Experimental project.
- I made the code after watching a YouTube video.(230614_Use Arc Instead of Vec | Logan Smith)
// Consider Arc<[T]> over Vec <T>
// Arc<[T]>
use arc_vec::alloc::arc_vec::ArcVec;
let my_num_arcvec_init: ArcVec<i32> = ArcVec::new();
§example
use arc_vec::alloc::arc_vec::ArcVec;
let my_arc_vec = ArcVec::new();
my_arc_vec.push(10);
println!("arc_vec int push : {my_arc_vec}");