ocaml-batteries-team/batteries-included — pull request #362 by c-cube (2013-02-27 23:58:36+00:00)
Title: introduce a more efficient mutable list for Enum.force and Enum.take 

Use unrolled mutable lists to store elements of a forced BatEnum.t; it should take less memory on big enumerations. Also added some tests for BatEnum.take and BatEnum.force.