Source

xp.memo / code / Main.hs

Author Commit Message Labels Comments Date
Alessandro Vermeulen
* Implemented SNMap with HashMap. It `works', but it doesn't give you memoisation, it is even slower than the original fib.
Alessandro Vermeulen
Example for seeing memo in action in compiled programs. See Main.hs.
Alessandro Vermeulen
* Added more references + urls to read * Added the code from Conal to a seperate file. * Added the traced memo function. (*The trie is only built once*)
Alessandro Vermeulen
* I think I have the algorithm now as it was meant to be. So without the various(!) mistakes in which variables were used. * It still doesn't work because I can't find the real SNMap together with it's interface.