28 Dec
2014
28 Dec
'14
2:31 p.m.
On 27/12/14 17:03, Greg Weber wrote:
Sequence is not used nearly enough.
Not really. Seq has high constant factors and for small sizes is often slower than plain lists. Nor is it space-efficient (for big sizes). It probably has its use cases, but most of the time you'd be better off with one of the other choices: * plain old lists * difference lists (trees) * lists "without remorse" * vectors * lazy vectors (lists of vectors) Roman