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

LRU manager by number of key (as opposed to current sum of values) #4

@pkieltyka

Description

@pkieltyka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions