{"action":"opened","issue":{"url":"https://api.github.com/repos/AceWiki/AceWiki/issues/28","repository_url":"https://api.github.com/repos/AceWiki/AceWiki","labels_url":"https://api.github.com/repos/AceWiki/AceWiki/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/AceWiki/AceWiki/issues/28/comments","events_url":"https://api.github.com/repos/AceWiki/AceWiki/issues/28/events","html_url":"https://github.com/AceWiki/AceWiki/issues/28","id":164028651,"number":28,"title":"Chart parser: lambda resolution time grows exponentially with the number of tokens","user":{"login":"amirant","id":6555256,"avatar_url":"https://avatars.githubusercontent.com/u/6555256?v=3","gravatar_id":"","url":"https://api.github.com/users/amirant","html_url":"https://github.com/amirant","followers_url":"https://api.github.com/users/amirant/followers","following_url":"https://api.github.com/users/amirant/following{/other_user}","gists_url":"https://api.github.com/users/amirant/gists{/gist_id}","starred_url":"https://api.github.com/users/amirant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirant/subscriptions","organizations_url":"https://api.github.com/users/amirant/orgs","repos_url":"https://api.github.com/users/amirant/repos","events_url":"https://api.github.com/users/amirant/events{/privacy}","received_events_url":"https://api.github.com/users/amirant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-06T08:54:05Z","updated_at":"2016-07-06T08:54:05Z","closed_at":null,"body":"Attached is a maven project with a very simple grammar with semantic annotations and a unit test that shows how the lambda resolution time grows very quickly with the number of tokens used in the sentence. Running the test we get this output:\r\n\r\n=> lambda resolution time: 0 seconds, 11 tokens.\r\n=> lambda resolution time: 2 seconds, 31 tokens.\r\n=> lambda resolution time: 34 seconds, 35 tokens.\r\n\r\nand the problem appears with fewer tokens if the grammar is more complex. The chart parser itself seems to perform the same with any number of tokens.\r\n\r\nRegards,\r\nAmir.\r\n\r\n[helloGrammar.tar.gz](https://github.com/AceWiki/AceWiki/files/349392/helloGrammar.tar.gz)\r\n"}}
{"actor":{"display_login":"amirant"}}