[erlang-questions] Deforesting tuple updates

Joel Reymont joelr1@REDACTED
Thu Feb 22 15:11:03 CET 2007

The reason I bring this up, btw, has to do with trading systems.  
These traditionally use time series implemented on top of arrays. To  
calculate a moving average of prices you would allocate an array of N  
elements and then destructively update it.

I know that you could implement the same thing with gb_trees, ETS,  
etc. but I don't think these are optimal solutions. I have no doubt  
I'll prove it so in the course of AlgoKit implementation.

	Thanks, Joel


More information about the erlang-questions mailing list