Currently the parsing implementation isn't fast enough, ultimately the point of this project is to have fast regex extractions while still retaining the simpler format of xpath expressions.
We can make improvements:
- Add multiprocessing/async to have concurrent processing of each PathElement
- Simplify the PathElement Object further or re-implement it using a more efficient list like a linked list
- Reduce the usage of regex in the conversion and try for the simplest and fastest implementation.
- Consider using Cython or examining other ways to speed up python processing.
Currently the parsing implementation isn't fast enough, ultimately the point of this project is to have fast regex extractions while still retaining the simpler format of xpath expressions.
We can make improvements: