Skip to content
This repository was archived by the owner on Jul 8, 2022. It is now read-only.
This repository was archived by the owner on Jul 8, 2022. It is now read-only.

LRU Cache is LRA(llocated) cache #405

Description

@eile

LRUCachePolicy::insert is only called on cache insertion, getting an element does not move it to the front of the list. Therefore elements are deallocated based on their creation time, not last used. I'm working on a fix included in a general cache code cleanup.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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