correct readme
This commit is contained in:
parent
e4a4151fd7
commit
a834a0b84c
1 changed files with 1 additions and 6 deletions
|
|
@ -28,12 +28,7 @@ let db = MicroDB::create(
|
|||
/*max ram usage*/0.1,
|
||||
/*average object size in mb*/0.01,
|
||||
/*safety (how important staying within ram spec is)*/1.0),
|
||||
MicroDB::sensible_block_size(
|
||||
/*object amount*/500.0,
|
||||
/*average object size in bytes*/10_0000.0,
|
||||
/*object size fluctuation in bytes*/0.0,
|
||||
/*storage tightness*/1.0
|
||||
),
|
||||
32,
|
||||
)
|
||||
```
|
||||
Or load one using ::new and leave out the block_size arg.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue