angstrom
angstrom copied to clipboard
Make parser combiner lazy
related to #209
I've been running into stack overflow on 0.15.0
as well, which is surprising to me because #186 and #187 are very similar to the changes I've made on my old fork which does not have stack overflow issues.
It turns out the reason is the changes made by #186 and #187 aren't fully lazy.
This PR fixed all remaining stack overflows on 0.15.0
for me! 🎉 It passes all my tests on SZXX. However the impact on performance seems to be a slowdown of ~55%. I'd still support merging it, maybe along with #217 to (more than) cancel out the impact on performance?