-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
help wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
I need a data-structure for caching. It should have the following behaviour.
- Adding/Selecting something efficently by a key (very important).
- Restricted by a maximum amount.
- When something new is created that should be cached and there is not enough room, the oldest least requested element should be removed.
- Whenever something is requested it's expire time should refresh.
How to build such a structure? Which algorithms to use?
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested