[Pyparsing] cPyparsing Is a Faster PyParsing
Brought to you by:
ptmcg
From: Evan H. <eva...@gm...> - 2017-07-18 07:14:57
|
I rewrote PyParsing in Cython as part of my efforts to speed up Coconut <http://coconut-lang.org/> and Undebt <https://github.com/Yelp/undebt>. You can check it out on GitHub here <https://github.com/evhub/cpyparsing>, or download it from PyPI with `pip install cpyparsing`. In my testing with Coconut, I've found it to be about 30% faster, so if you're looking for maximum PyParsing performance, you might want to check it out. Right now, it uses very few Cython features, so there's still a lot of room for improvement. If anyone wants to try strategically moving functions over to use `cdef` or `cpdef` and submit a PR, that would be much appreciated! Cheers, Evan Hubinger -- “The true logic of this world is in the calculus of probabilities.” – James Clerk Maxwell |