This repository was archived by the owner on Nov 23, 2018. It is now read-only.

Description
Should be able to support both.. current interface is: New(capacity int64, *anotherStore chainstore.Store) .. maybe we should make it New("500MB", store) or New("500 items", store) .. using a simple string?
or multiple .New() methods would do it as well.. .NewValueCapacity() and default .New() is to manage capacity by number of keys