| Crates.io | chunklist |
| lib.rs | chunklist |
| version | 0.1.0 |
| created_at | 2025-01-15 18:41:37.200052+00 |
| updated_at | 2025-01-15 18:41:37.200052+00 |
| description | A Chunk List is a new, concurrent, chunk-based data structure that is easily modifiable and allows for fast runtime operations. |
| homepage | |
| repository | https://github.com/danielathome19/Chunk-List-rs |
| max_upload_size | |
| id | 1517905 |
| size | 43,804 |
A Chunk List is a new, concurrent, chunk-based data structure that is easily modifiable and allows for fast runtime operations.
To find out more, check out the provided research paper in the original C# implementation repo:
Install the chunklist Cargo crate:
cargo add chunklist
Or, in Cargo.toml:
[dependencies]
chunklist = "0.1.0"
use chunklist::ChunkList;
fn main() {
println!("Hello, world!");
let mut chunklist = ChunkList::new(25);
let mut rng = rand::thread_rng();
for _ in 0..250 {
let value = rng.gen_range(0..1000);
chunklist.add(value);
}
chunklist.sort();
chunklist.print();
println!("Length: {}", chunklist.len());
println!("List contains 500: {}\n", chunklist.contains(&500));
}
The Presentation folder (i.e., the research paper) in the original C# implementation repo contains a full presentation and research paper in PDF format, containing the following information:
Program files are kept within the main branch.
A full implementation of the class is kept within the chunklist.rs file in the module chunklist, to be included within the program.
The tests/chunklist_tests.rs file contains a benchmark test for comparison between a Vector and Chunk List.
Bugs are tracked using the GitHub Issue Tracker.
Please use the issue tracker for the following purpose:
The code is licensed under Apache License 2.0.
If you use this code for your research, please cite this project:
@software{Szelogowski_Chunk-List_2017,
author = {Szelogowski, Daniel},
doi = {10.48550/arxiv.2101.00172},
month = {May},
title = {{Chunk-List}},
license = {Apache-2.0},
url = {https://github.com/danielathome19/Chunk-List-rs},
version = {1.0.0},
year = {2017}
}