chris-twiner / scalesXml

Alternate Scala XML library
77 stars 16 forks source link

Mutable iterate function - 40%+ speedup #9

Closed chris-twiner closed 12 years ago

chris-twiner commented 12 years ago

Use a mutable approach inside the Iterator as the iteratee overhead is 40 odd %. This make sense in the onDone(List(onQName side, but for iterate it isn't required.