Hi, what is the proper way to do dynamic programming in erlang? Currently I use a gb_tree for the memo, but it is really slow in some cases. On really slow I mean it is faster to regenerate the solution of the subproblem every time, then to look it up. Any ideas how can I do it better? Thx Imre