Fork me on GitHub

Hey all! I made this for a project at work and i'd love to get some feedback on ways to make it better / faster . I tried other approaches (instaparse, spec), but they were even slower


in particular, i'd like to know if retains the head (i'm pretty sure it does) and how can i make it not do that. Any other tip on how to make many+ / many* go faster would be appreciated