Skip to content


Document the space usage #41

tibbe opened this Issue · 1 comment

2 participants


attoparsec holds on to all input until we're done parsing, using O(input) memory. It would probably be worth mentioning under "Performance considerations" in Data.Attoparsec.ByteString.


How is it with the lazy version, does it works the same? I would guess so, because there isn't really a way of telling attoparsec to "commit" to make clear that what we've come across so far is to be accepted, which means at any point it might back-track to the beginning.

@bos bos closed this in b6a4c1e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.