core_memo: zero-cost, no_std-compatible library for lazy evaluation and memoization [my first ever published crate]


#1

https://crates.io/crates/core_memo

I just completed and published my first ever rust crate to crates.io!

I will appreciate constructive criticism. Let me know what you guys think!

Hopefully people find this useful.


#2

That’s nice!
I’ve been thinking about implementing such a thing myself but now I can use your crate instead :wink:

Maybe you want to add a fibonacci example, at least that’s what most people seem to use to show memoization.
I’ve noticed that you use unwrap() in the get method, in your case it cant’ fail since ready() is called before. Maybe you want to document this (or maybe it too trivial…)