Skip to content

Why remove_expired is not a public function? #18

Open
@vi

Description

@vi

let _ = the_cache.iter() is obvious workaround, but less readable and maintainable.

Removing expired elements can be significant if their destructors do something, so that function may be called periodically on timer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions