News for hackers. Stuff that matters.
Re:Dynamic programming in Haskell: automatic memoization by tsimionescu on Tuesday June 20, 2023 @10:47AM (#36404847)
I assume this could be fixed by using a lambda instead of a top level function if you only want to occasionally call such a function, and don't need the whole memoization table around all the time?
Re:Dynamic programming in Haskell: automatic memoization by consilient on Thursday June 22, 2023 @05:28AM (#36429756)
Yes, although you need to make sure it doesn't get optimized away.