correct readme

This commit is contained in:
Tove 2025-06-04 10:43:34 +02:00
parent e4a4151fd7
commit a834a0b84c
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -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.