Closed oguimbal closed 2 years ago
No problem at all! That's why I use liberal OSS licenses, that's how the system is supposed to work <3
Two suggestions:
length
is strictly never greater than cache.max
, then we can do some interesting optimizations. How are you planning (or are you planning) to keep your deno fork up to date? I don't know the best answer, but I know "I'll just manually port it again" tends to not work great 😅 @oguimbal It would be great, since you did a port anyway, to update the @types/lur-cache that are wayyy behind.
I ported node-lru-cache so it is usable in Deno.
You can find it at https://deno.land/x/lru_cache Let me know if you have any problem with that :)
(And thank you for this great lib !)