Skip to content

Conversation

@Lucccyo
Copy link
Owner

@Lucccyo Lucccyo commented Jun 24, 2022

No description provided.

@Lucccyo
Copy link
Owner Author

Lucccyo commented Jun 24, 2022

 t.assoc old k <> None -> t.frequency k = t.frequency old k + 1
      t.size < t.cap -> t.assoc old k = None ->
        forall k'. t.assoc old k' <> None -> t.assoc k' <> None *)

I want to specify which key must be discarded if the cache is full.

@Lucccyo Lucccyo closed this Jun 27, 2022
@Lucccyo Lucccyo reopened this Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants