Skip to content

Feature: implement the api to resize lru #46

@sysulq

Description

@sysulq

What about implement a resize api to support adjust the size of lru dynamically?

like

local c = lrucache.new(100)
c:resize(50)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions