The docs suggest default values for the NumCounters
and BufferItems
config parameters as being safe for most use cases, so I wonder why ristretto cannot use these default values when none are provided?
This would make simple, less performance-relevant, usage easier and would avoid the proliferation of boilerplate code nobody really understands (the docs for BufferItems
are especially opaque).
I took the liberty of creating a small PR for this suggestion here.
Appologies if this has been suggested before. I couldn’t find any reference of it.