<h1 align="center">cobt</h1>
<div align="center">Cache-Oblivious B-Tree's in Rust</div>
## Table of Contents
- [Table of Contents](#table-of-contents)
- [Quickstart](#quickstart)
- [Contributing](#contributing)
- [License](#license)
## Quickstart
To start with cobt, add the following to your `Cargo.toml` file:
```toml
[dependencies]
cobt = "0.1"
```
and add this to you can use it your project:
```rust
use cobt::CacheObliviousBTree;
fn main() {
let mut tree = CacheObliviousBTree::new();
for i in 0..20 {
tree.insert(i, format!("value_{}", i));
}
println!("Tree Size {}", tree.len());
for i in [0, 5, 10, 15, 19, 25] {
match tree.search(&i) {
Some(v) => println!("Key {}: {}", i, v),
None => println!("Key {}, not found", i),
}
}
}
```
## Contributing
Contributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines on how to contribute to this project.
Whether you're fixing bugs, adding features, improving documentation, or reporting issues, your help is appreciated.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.