Memoize Erlang function calls

Nick Gerakines - - September 27, 2008

The Erlang workshop has been a blast so far. Just wrote this quick snippet to memoize Erlang function calls. Enjoy!

Using it is pretty simple. Just start the memoize server and then send mfas to it.

1> memoize:start().
2> memoize:memoize(fun module:function/0, [Arguments]).



Categories: Blogs  Nick Gerakines  

Comments

No comments so far, you could be the first.

Add comment

Name:

Email:

URL:

Smileys

Remember my personal information

Notify me of follow-up comments?