[erlang-questions] dynamic programming in erlang
Pierpaolo Bernardi
olopierpa@REDACTED
Wed Nov 19 11:11:16 CET 2008
On Wed, Nov 19, 2008 at 10:45 AM, Imre Palik <imre@REDACTED> wrote:
> 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?
I think that without seeing your code, at least a sketch, it will be
difficult to diagnose the problem.
Cheers
P.
More information about the erlang-questions
mailing list