{"action":"created","issue":{"url":"https://api.github.com/repos/rack/rack/issues/1040","repository_url":"https://api.github.com/repos/rack/rack","labels_url":"https://api.github.com/repos/rack/rack/issues/1040/labels{/name}","comments_url":"https://api.github.com/repos/rack/rack/issues/1040/comments","events_url":"https://api.github.com/repos/rack/rack/issues/1040/events","html_url":"https://github.com/rack/rack/pull/1040","id":144251210,"number":1040,"title":"last slash check optimization","user":{"login":"railsme","id":210662,"avatar_url":"https://avatars.githubusercontent.com/u/210662?v=3","gravatar_id":"","url":"https://api.github.com/users/railsme","html_url":"https://github.com/railsme","followers_url":"https://api.github.com/users/railsme/followers","following_url":"https://api.github.com/users/railsme/following{/other_user}","gists_url":"https://api.github.com/users/railsme/gists{/gist_id}","starred_url":"https://api.github.com/users/railsme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/railsme/subscriptions","organizations_url":"https://api.github.com/users/railsme/orgs","repos_url":"https://api.github.com/users/railsme/repos","events_url":"https://api.github.com/users/railsme/events{/privacy}","received_events_url":"https://api.github.com/users/railsme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-29T12:32:32Z","updated_at":"2016-04-01T17:24:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rack/rack/pulls/1040","html_url":"https://github.com/rack/rack/pull/1040","diff_url":"https://github.com/rack/rack/pull/1040.diff","patch_url":"https://github.com/rack/rack/pull/1040.patch"},"body":"`String#end_with?` takes less cpu time and allocates less memory than regular expression"},"comment":{"url":"https://api.github.com/repos/rack/rack/issues/comments/204478255","html_url":"https://github.com/rack/rack/pull/1040#issuecomment-204478255","issue_url":"https://api.github.com/repos/rack/rack/issues/1040","id":204478255,"user":{"login":"arthurnn","id":833383,"avatar_url":"https://avatars.githubusercontent.com/u/833383?v=3","gravatar_id":"","url":"https://api.github.com/users/arthurnn","html_url":"https://github.com/arthurnn","followers_url":"https://api.github.com/users/arthurnn/followers","following_url":"https://api.github.com/users/arthurnn/following{/other_user}","gists_url":"https://api.github.com/users/arthurnn/gists{/gist_id}","starred_url":"https://api.github.com/users/arthurnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arthurnn/subscriptions","organizations_url":"https://api.github.com/users/arthurnn/orgs","repos_url":"https://api.github.com/users/arthurnn/repos","events_url":"https://api.github.com/users/arthurnn/events{/privacy}","received_events_url":"https://api.github.com/users/arthurnn/received_events","type":"User","site_admin":true},"created_at":"2016-04-01T17:24:10Z","updated_at":"2016-04-01T17:24:10Z","body":"hi @railsme , can you provide some benchmarks showing before and after?\r\nThanks\r\n"}}