{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust-mode/issues/85","labels_url":"https://api.github.com/repos/rust-lang/rust-mode/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust-mode/issues/85/comments","events_url":"https://api.github.com/repos/rust-lang/rust-mode/issues/85/events","html_url":"https://github.com/rust-lang/rust-mode/pull/85","id":95950779,"number":85,"title":"Cache (regexp-opt rust-special-types 'symbols) in rust-is-lt-char-operator","user":{"login":"talchas","id":3578697,"avatar_url":"https://avatars.githubusercontent.com/u/3578697?v=3","gravatar_id":"","url":"https://api.github.com/users/talchas","html_url":"https://github.com/talchas","followers_url":"https://api.github.com/users/talchas/followers","following_url":"https://api.github.com/users/talchas/following{/other_user}","gists_url":"https://api.github.com/users/talchas/gists{/gist_id}","starred_url":"https://api.github.com/users/talchas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talchas/subscriptions","organizations_url":"https://api.github.com/users/talchas/orgs","repos_url":"https://api.github.com/users/talchas/repos","events_url":"https://api.github.com/users/talchas/events{/privacy}","received_events_url":"https://api.github.com/users/talchas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pnkfelix","id":173127,"avatar_url":"https://avatars.githubusercontent.com/u/173127?v=3","gravatar_id":"","url":"https://api.github.com/users/pnkfelix","html_url":"https://github.com/pnkfelix","followers_url":"https://api.github.com/users/pnkfelix/followers","following_url":"https://api.github.com/users/pnkfelix/following{/other_user}","gists_url":"https://api.github.com/users/pnkfelix/gists{/gist_id}","starred_url":"https://api.github.com/users/pnkfelix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnkfelix/subscriptions","organizations_url":"https://api.github.com/users/pnkfelix/orgs","repos_url":"https://api.github.com/users/pnkfelix/repos","events_url":"https://api.github.com/users/pnkfelix/events{/privacy}","received_events_url":"https://api.github.com/users/pnkfelix/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-07-19T21:33:43Z","updated_at":"2015-07-20T06:35:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rust-lang/rust-mode/pulls/85","html_url":"https://github.com/rust-lang/rust-mode/pull/85","diff_url":"https://github.com/rust-lang/rust-mode/pull/85.diff","patch_url":"https://github.com/rust-lang/rust-mode/pull/85.patch"},"body":"regexp-opt is generally intended to be cached, and the extra GC was\r\ncausing noticeable lag when typing sometimes.\r\n\r\nI still get lag in some cases from rust-in-macro calling syntax-ppss and falling through to parse-partial-sexp all the time, but fixing that in a not-horrible way is less trivial."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust-mode/issues/comments/122774818","html_url":"https://github.com/rust-lang/rust-mode/pull/85#issuecomment-122774818","issue_url":"https://api.github.com/repos/rust-lang/rust-mode/issues/85","id":122774818,"user":{"login":"pnkfelix","id":173127,"avatar_url":"https://avatars.githubusercontent.com/u/173127?v=3","gravatar_id":"","url":"https://api.github.com/users/pnkfelix","html_url":"https://github.com/pnkfelix","followers_url":"https://api.github.com/users/pnkfelix/followers","following_url":"https://api.github.com/users/pnkfelix/following{/other_user}","gists_url":"https://api.github.com/users/pnkfelix/gists{/gist_id}","starred_url":"https://api.github.com/users/pnkfelix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pnkfelix/subscriptions","organizations_url":"https://api.github.com/users/pnkfelix/orgs","repos_url":"https://api.github.com/users/pnkfelix/repos","events_url":"https://api.github.com/users/pnkfelix/events{/privacy}","received_events_url":"https://api.github.com/users/pnkfelix/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T06:35:12Z","updated_at":"2015-07-20T06:35:12Z","body":"@talchas should we be putting in similar `defconst` definitions for the other regexps that are currently generated inline via `regexp-opt` elsewhere in that code?  Or is it just `rust-special-types` that is getting used in a particularly hot loop here?"}}