On 05/21/2014 02:22 PM, C. Scott Ananian wrote:
I gave SplEnum a quick read as well. It seems they are solving a different use case. SplEnum appears to be optimized for the case where you have some inherently-integer constants floating around your code (due to legacy or interoperation with C or network protocols or what-have-you),
Which we do (with an emphasis on the 'legacy' one), so maybe we should have both, or include support for this use case in our implementation.
I haven't looked at it in detail, just something to consider.
Matt Flaschen