{"action":"created","issue":{"url":"https://api.github.com/repos/musicman3320/m2r/issues/79","repository_url":"https://api.github.com/repos/musicman3320/m2r","labels_url":"https://api.github.com/repos/musicman3320/m2r/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/musicman3320/m2r/issues/79/comments","events_url":"https://api.github.com/repos/musicman3320/m2r/issues/79/events","html_url":"https://github.com/musicman3320/m2r/issues/79","id":189147775,"number":79,"title":"Minimizing M2 calls","user":{"login":"sommars","id":6516600,"avatar_url":"https://avatars.githubusercontent.com/u/6516600?v=3","gravatar_id":"","url":"https://api.github.com/users/sommars","html_url":"https://github.com/sommars","followers_url":"https://api.github.com/users/sommars/followers","following_url":"https://api.github.com/users/sommars/following{/other_user}","gists_url":"https://api.github.com/users/sommars/gists{/gist_id}","starred_url":"https://api.github.com/users/sommars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sommars/subscriptions","organizations_url":"https://api.github.com/users/sommars/orgs","repos_url":"https://api.github.com/users/sommars/repos","events_url":"https://api.github.com/users/sommars/events{/privacy}","received_events_url":"https://api.github.com/users/sommars/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-14T15:51:34Z","updated_at":"2016-11-14T17:25:34Z","closed_at":"2016-11-14T15:58:40Z","body":"Suppose we wanted to retrieve two rings R and S from M2, as could happen during m2_parse(). What if we called M2 once with the input of (R,S)? Would this improve speed?"},"comment":{"url":"https://api.github.com/repos/musicman3320/m2r/issues/comments/260401092","html_url":"https://github.com/musicman3320/m2r/issues/79#issuecomment-260401092","issue_url":"https://api.github.com/repos/musicman3320/m2r/issues/79","id":260401092,"user":{"login":"musicman3320","id":666014,"avatar_url":"https://avatars.githubusercontent.com/u/666014?v=3","gravatar_id":"","url":"https://api.github.com/users/musicman3320","html_url":"https://github.com/musicman3320","followers_url":"https://api.github.com/users/musicman3320/followers","following_url":"https://api.github.com/users/musicman3320/following{/other_user}","gists_url":"https://api.github.com/users/musicman3320/gists{/gist_id}","starred_url":"https://api.github.com/users/musicman3320/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/musicman3320/subscriptions","organizations_url":"https://api.github.com/users/musicman3320/orgs","repos_url":"https://api.github.com/users/musicman3320/repos","events_url":"https://api.github.com/users/musicman3320/events{/privacy}","received_events_url":"https://api.github.com/users/musicman3320/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T17:25:34Z","updated_at":"2016-11-14T17:25:34Z","body":"It is certainly worth looking into ways of minimizing the calls to `m2()` when parsing.  Some ideas: \r\n\r\n1. Keep a list of known function/class names that will not need to be looked up.  \r\n2. Check the format of the name (e.g. `m2rintring0000000000001`) and only look up those that don't fit.   \r\n\r\nBoth of these can be subverted by a malitious user, but at some point we need to trust them.  I will open a new bug so that we can (potentially) add this in a future version.  "}}
{"actor":{"display_login":"musicman3320"}}