I store a calibration table of 100,000 Double values in a list and look entries up with table !! i inside a loop. It is far slower than the equivalent C array code. I also keep a list of (name, value) pairs that I search with lookup.
I understand lists are linked lists, but there seem to be many alternatives: Data.Array, Data.Vector, Data.Map, Data.Sequence. Which one fits which job?




