Closed yhirose closed 2 years ago
@mingodad, I guess cpp-peglib cannot beat chepeg in nature because cpp-peglib runs as an AST interpreter but chpeg runs as a VM. Please let me know if you see any places where we can make performance improvement in cpp-peglib. Thanks for your observation.
I'll close it for now.
Originally posted by @mingodad in https://github.com/yhirose/cpp-peglib/issues/200#issuecomment-1146186960
See this comment https://github.com/ChrisHixon/chpeg/issues/4#issuecomment-1146185093 for a performance comparison between
chpeg
andpeglib
using this grammar forpeglib
: