raghavgh / gofast

One-stop Shop for Optimal Go Caching: All Cache Algorithms Under One Roof.
4 stars 2 forks source link

🚀 Add MRU (Most Recently Used) Cache Algorithm to gofast #12

Open raghavgh opened 1 week ago

raghavgh commented 1 week ago

We’re currently missing an MRU (Most Recently Used) cache algorithm in our gofast caching library. If you’re interested in contributing to this feature, this is an excellent opportunity to have your code running in a live, production-ready library!

What’s MRU?

The MRU algorithm discards the most recently used items first, opposite to how LRU (Least Recently Used) works. It’s useful in certain scenarios where recently accessed data is less likely to be accessed again, such as when processing a stack of documents.

Why Pick This Up?

What We Expect:

Get Started

Looking for Guidance?

Feel free to open a discussion if you need any help. We’d be happy to mentor or guide you through this contribution.

abuzaforfagun commented 1 week ago

I am interested in working on the issue.

raghavgh commented 1 week ago

I am interested in working on the issue.

Assigned.

raghavgh commented 3 days ago

Hello @abuzaforfagun Thank you for your valuable contribution.

Apologies for delay in review, I have added some comments, Please go through them, let me know if you have any question or concern. Thanks