SerenitySoftware / cahoots

A Text Comprehension Engine in Python
MIT License
15 stars 3 forks source link

Performance Improvements needed in measurement parser #142

Open hickeroar opened 9 years ago

hickeroar commented 9 years ago

Since updating the measurement parser to use pyparsing, it has decreased in speed significantly. This is likely due to the complexity of the parsers that are being assembled.

I'm not sure what can be done about the performance of the parsers, but there may be improvements possible in early detection of non-matches so we don't use the parsers unless we think we might actually have a match.