sliekens / Txt

A text parsing framework for .NET.
MIT License
2 stars 4 forks source link

Let factories re-use existing ILexer<> objects #13

Closed sliekens closed 8 years ago

sliekens commented 8 years ago

Factories always create a new lexer object instead of re-using existing objects, which is actually pretty bad for the number of object allocations for even small grammars.

sliekens commented 8 years ago

Resolved in https://github.com/StevenLiekens/Txt/commit/ea323984544524ae98164db70a7acac69d118bd4