- Notifications
You must be signed in to change notification settings - Fork12
c-cube edited this pageFeb 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 thatare not aware of Sequence.
The followinggist provides a simple benchmark that compares iterating on Sequence.t with iterating on ExtLib.Enum.t.
% ./bench 10000000compare sum on lists of size 10000000list created, length 10000001time seq: 0.245, time enum: 0.347% ./bench 50000000compare sum on lists of size 50000000list created, length 50000001time seq: 1.205, time enum: 1.725
See the pagehttp://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".