?
This commit is contained in:
parent
16d04f3e7c
commit
bf4200e9e5
3 changed files with 3 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
/target
|
/target
|
||||||
.DS_Store
|
.DS_Store
|
||||||
btree.idx
|
btree.idx
|
||||||
|
.stignore
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
use crate::config::MAX_KEYS;
|
||||||
use crate::node::*;
|
use crate::node::*;
|
||||||
use crate::record::Record;
|
use crate::record::Record;
|
||||||
use crate::storage::Storage;
|
use crate::storage::Storage;
|
||||||
const MAX_KEYS: usize = 4;
|
|
||||||
|
|
||||||
pub struct BPlusTree<S> {
|
pub struct BPlusTree<S> {
|
||||||
storage: S,
|
storage: S,
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
pub const DEGREE: usize = 2;
|
pub const DEGREE: usize = 2;
|
||||||
|
pub const MAX_KEYS: usize = 4;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue