-
Notifications
You must be signed in to change notification settings - Fork 11
Home
c-cube edited this page Feb 27, 2013
·
4 revisions
Welcome to the sequence wiki!
The purpose of Sequence is to provide an abstraction for sequences of elements, while retaining high performance and being easy to use even with containers that are not aware of Sequence.
The following gist provides a simple benchmark that compares iterating on Sequence.t with iterating on ExtLib.Enum.t.
% ./bench 10000000
compare sum on lists of size 10000000
list created, length 10000001
time seq: 0.245, time enum: 0.347
% ./bench 50000000
compare sum on lists of size 50000000
list created, length 50000001
time seq: 1.205, time enum: 1.725
See the page http://c-cube.github.com/sequence/api/ .
I would love to have feedback or comments about the library. You can communicate through github or email me at "simon dot cruanes dot 2007 at m4x dot org".