in reply to Re: quickness is not so obvious
in thread quickness is not so obvious
Hmm, my personal feeling is that if you use Memoize and see a dramatic performance boost when using recursive functions like this, then you really need to rethink your algorithm as there is very likely a much better solution
(To be fair, I suspect this is not always true, however it is absolutely worth investigating, especially if the trade off in memory utilisation is particularly expensive)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: quickness is not so obvious (Dynamic Programming)
by LanX (Saint) on Jan 23, 2015 at 23:03 UTC | |
|
Re^3: quickness is not so obvious
by GrandFather (Saint) on Jan 24, 2015 at 22:15 UTC | |
by SimonPratt (Friar) on Jan 26, 2015 at 10:57 UTC |