[erlang-questions] dynamic programming in erlang

Imre Palik <>
Wed Nov 19 10:45:36 CET 2008


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



More information about the erlang-questions mailing list