{"action":"created","issue":{"url":"https://api.github.com/repos/petrovich/petrovich-ruby/issues/51","repository_url":"https://api.github.com/repos/petrovich/petrovich-ruby","labels_url":"https://api.github.com/repos/petrovich/petrovich-ruby/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/petrovich/petrovich-ruby/issues/51/comments","events_url":"https://api.github.com/repos/petrovich/petrovich-ruby/issues/51/events","html_url":"https://github.com/petrovich/petrovich-ruby/pull/51","id":165885103,"number":51,"title":"Regexp matching + benchmark","user":{"login":"ujifgc","id":108798,"avatar_url":"https://avatars.githubusercontent.com/u/108798?v=3","gravatar_id":"","url":"https://api.github.com/users/ujifgc","html_url":"https://github.com/ujifgc","followers_url":"https://api.github.com/users/ujifgc/followers","following_url":"https://api.github.com/users/ujifgc/following{/other_user}","gists_url":"https://api.github.com/users/ujifgc/gists{/gist_id}","starred_url":"https://api.github.com/users/ujifgc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ujifgc/subscriptions","organizations_url":"https://api.github.com/users/ujifgc/orgs","repos_url":"https://api.github.com/users/ujifgc/repos","events_url":"https://api.github.com/users/ujifgc/events{/privacy}","received_events_url":"https://api.github.com/users/ujifgc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-15T21:55:03Z","updated_at":"2016-07-16T11:52:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/petrovich/petrovich-ruby/pulls/51","html_url":"https://github.com/petrovich/petrovich-ruby/pull/51","diff_url":"https://github.com/petrovich/petrovich-ruby/pull/51.diff","patch_url":"https://github.com/petrovich/petrovich-ruby/pull/51.patch"},"body":"1) Добавил простую проверку быстродействия (запускать `rake bench`)\r\n2) Поменял странный код на регекспы\r\n\r\nДо изменений:\r\n\r\n```\r\nRunning Petrovich::Benchmark\r\nbench_dative_to_s        0.030225        0.139556        0.583870        2.535422\r\n```\r\n\r\nПосле изменений:\r\n\r\n```\r\nRunning Petrovich::Benchmark\r\nbench_dative_to_s        0.009378        0.038192        0.151915        0.607715\r\n```\r\n\r\nТо есть, примерно в 4.5 раза быстрее."},"comment":{"url":"https://api.github.com/repos/petrovich/petrovich-ruby/issues/comments/233126867","html_url":"https://github.com/petrovich/petrovich-ruby/pull/51#issuecomment-233126867","issue_url":"https://api.github.com/repos/petrovich/petrovich-ruby/issues/51","id":233126867,"user":{"login":"dustalov","id":40397,"avatar_url":"https://avatars.githubusercontent.com/u/40397?v=3","gravatar_id":"","url":"https://api.github.com/users/dustalov","html_url":"https://github.com/dustalov","followers_url":"https://api.github.com/users/dustalov/followers","following_url":"https://api.github.com/users/dustalov/following{/other_user}","gists_url":"https://api.github.com/users/dustalov/gists{/gist_id}","starred_url":"https://api.github.com/users/dustalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustalov/subscriptions","organizations_url":"https://api.github.com/users/dustalov/orgs","repos_url":"https://api.github.com/users/dustalov/repos","events_url":"https://api.github.com/users/dustalov/events{/privacy}","received_events_url":"https://api.github.com/users/dustalov/received_events","type":"User","site_admin":false},"created_at":"2016-07-16T11:52:46Z","updated_at":"2016-07-16T11:52:46Z","body":"Спасибо!"}}
{"actor":{"display_login":"dustalov"}}