simerplaha / SwayDB

Persistent and in-memory key-value storage engine for JVM that scales on a single machine.
https://swaydb.simer.au
Apache License 2.0
293 stars 16 forks source link

Benchmark `SliceBuilder.addAll` which expands dynamically #347

Open simerplaha opened 2 years ago

simerplaha commented 2 years ago

addAll is only needed in one location where expansion occurs rarely. Everything else know the exact or approximate minimum max size of the Slice to allocate.

This task is a reminder to add integration tests to assert this.