fmidev / fmi-avi-messageconverter-tac

Conversion module for aviation TAC messages
MIT License
1 stars 4 forks source link

Optimize parsing by continuing from the previous lexeme instead of a lookup from start #149

Open kasarit opened 11 months ago

kasarit commented 11 months ago

For best performance, parsing should continue from previous lexeme (when successful) without lookup starting from start, and do a lookup only on parse errors. This issue is for SIGMETTACParserBase and AIRMETTACParserBase, though this optimization is not widely used elsewhere in the codebase.