{"action":"created","issue":{"url":"https://api.github.com/repos/Engelberg/instaparse/issues/131","repository_url":"https://api.github.com/repos/Engelberg/instaparse","labels_url":"https://api.github.com/repos/Engelberg/instaparse/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/Engelberg/instaparse/issues/131/comments","events_url":"https://api.github.com/repos/Engelberg/instaparse/issues/131/events","html_url":"https://github.com/Engelberg/instaparse/issues/131","id":147768360,"number":131,"title":"Performance problem","user":{"login":"russellw","id":299692,"avatar_url":"https://avatars.githubusercontent.com/u/299692?v=3","gravatar_id":"","url":"https://api.github.com/users/russellw","html_url":"https://github.com/russellw","followers_url":"https://api.github.com/users/russellw/followers","following_url":"https://api.github.com/users/russellw/following{/other_user}","gists_url":"https://api.github.com/users/russellw/gists{/gist_id}","starred_url":"https://api.github.com/users/russellw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellw/subscriptions","organizations_url":"https://api.github.com/users/russellw/orgs","repos_url":"https://api.github.com/users/russellw/repos","events_url":"https://api.github.com/users/russellw/events{/privacy}","received_events_url":"https://api.github.com/users/russellw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-04-12T14:24:53Z","updated_at":"2016-08-28T00:56:41Z","closed_at":null,"body":"There seems to be a performance problem, though I'm not sure whether it's intrinsic or something I'm doing wrong:\r\n\r\nhttp://stackoverflow.com/questions/36572997/any-way-to-speed-up-instaparse"},"comment":{"url":"https://api.github.com/repos/Engelberg/instaparse/issues/comments/242949431","html_url":"https://github.com/Engelberg/instaparse/issues/131#issuecomment-242949431","issue_url":"https://api.github.com/repos/Engelberg/instaparse/issues/131","id":242949431,"user":{"login":"chrismurrph","id":10278575,"avatar_url":"https://avatars.githubusercontent.com/u/10278575?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismurrph","html_url":"https://github.com/chrismurrph","followers_url":"https://api.github.com/users/chrismurrph/followers","following_url":"https://api.github.com/users/chrismurrph/following{/other_user}","gists_url":"https://api.github.com/users/chrismurrph/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismurrph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismurrph/subscriptions","organizations_url":"https://api.github.com/users/chrismurrph/orgs","repos_url":"https://api.github.com/users/chrismurrph/repos","events_url":"https://api.github.com/users/chrismurrph/events{/privacy}","received_events_url":"https://api.github.com/users/chrismurrph/received_events","type":"User","site_admin":false},"created_at":"2016-08-28T00:56:41Z","updated_at":"2016-08-28T00:56:41Z","body":"I'm pretty sure I've hit the limit. One more rule and running the parser thrashes my machine possibly forever, never returning. Using `:optimize :memory` fixed it. However because this option is only available for `insta/parse` (not `insta/parses`), I now loose the ability to detect multiple possibilities as soon as they happen. I think the solution I'll end up coming to is what you recommend - doing a high level parse at the beginning, handing off various bits to more specific parsers. And some of these more specific parsers will be used multiple times.  "}}
{"actor":{"display_login":"chrismurrph"}}