Does anyone want intersperse for Data.Sequence?

David Feuer david.feuer at gmail.com
Mon Dec 29 23:52:23 UTC 2014


On Dec 29, 2014 11:09 AM, "Ross Paterson" <R.Paterson at city.ac.uk> wrote:
> Those choices will beat Seq on particular operation mixes, but the virtue
> of Seq is that it gives decent performance over a broad set of operations.

One of the nice things about that is that you can use Seq when you're still
figuring out just what your program will be doing with its sequences and
get a pretty good idea of the general performance characteristics. If Seq
turns out to be a constant-factor performance bottleneck, you can replace
it with something more specialized later, once you know *exactly* what
operations you need.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20141229/82027648/attachment.html>


More information about the Libraries mailing list