8000 GitHub - lucyTheSlayer/btree: a disk-persistence b+ tree implemented in rust
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lucyTheSlayer/btree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

btree

a disk-persistence b+ tree implemented in rust

I wrote this to study both rust & btree. So this is not intended for a production usage.

use btree::BTree;

fn main() {
    let mut btree = BTree::<u64, f64>::new("./testfloat.btree");
    btree.set(&1, &10.23f64).unwrap();
    btree.set(&2, &99.9f64).unwrap();
    
    println!("{}", btree.get(&1).unwrap()); //10.23
}

About

a disk-persistence b+ tree implemented in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0