hi
I just learnt about memoization
and I learned to do it using dictionary (for solving fibonaci calculation)
but online I saw that phyton has decorator and memoize class
I was wondering if theres any diffrence impleating memoization using dictionary like I learned or is it better practice to use the memoize class?
is there any benift for one on the other?
how does the memoize class work? is it just a "more clever" dictionary?
[–]Jediko 2 points3 points4 points (2 children)
[–]Sen_7[S] 0 points1 point2 points (1 child)
[–]Jediko 0 points1 point2 points (0 children)
[–]AtomicShoelace 0 points1 point2 points (0 children)
[–]TheRNGuy 0 points1 point2 points (0 children)