Calculate sizes using accumulator
joel-wright opened this issue · comments
Joel Wright commented
Modify the Xeger generators to return a size with a generation, and use an accumulator to calculate the total size of a generated regex to replace lots of calls to len()
Joel Wright commented
Not really a bug because len() is O(1), but implemented to allow the generated content to remain as a list for as long as possible.