{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/5256","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/5256/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/5256/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/5256/events","html_url":"https://github.com/nodejs/node/pull/5256","id":133914524,"number":5256,"title":"buffer: speed up Buffer.isEncoding() method","user":{"login":"JacksonTian","id":327019,"avatar_url":"https://avatars.githubusercontent.com/u/327019?v=3","gravatar_id":"","url":"https://api.github.com/users/JacksonTian","html_url":"https://github.com/JacksonTian","followers_url":"https://api.github.com/users/JacksonTian/followers","following_url":"https://api.github.com/users/JacksonTian/following{/other_user}","gists_url":"https://api.github.com/users/JacksonTian/gists{/gist_id}","starred_url":"https://api.github.com/users/JacksonTian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacksonTian/subscriptions","organizations_url":"https://api.github.com/users/JacksonTian/orgs","repos_url":"https://api.github.com/users/JacksonTian/repos","events_url":"https://api.github.com/users/JacksonTian/events{/privacy}","received_events_url":"https://api.github.com/users/JacksonTian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/buffer","name":"buffer","color":"f7c6c7"},{"url":"https://api.github.com/repos/nodejs/node/labels/performance","name":"performance","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-02-16T08:27:34Z","updated_at":"2016-02-17T06:01:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/5256","html_url":"https://github.com/nodejs/node/pull/5256","diff_url":"https://github.com/nodejs/node/pull/5256.diff","patch_url":"https://github.com/nodejs/node/pull/5256.patch"},"body":"Use automata to avoid toLowerCase(), faster, but more dirty."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/185041597","html_url":"https://github.com/nodejs/node/pull/5256#issuecomment-185041597","issue_url":"https://api.github.com/repos/nodejs/node/issues/5256","id":185041597,"user":{"login":"ChALkeR","id":291301,"avatar_url":"https://avatars.githubusercontent.com/u/291301?v=3","gravatar_id":"","url":"https://api.github.com/users/ChALkeR","html_url":"https://github.com/ChALkeR","followers_url":"https://api.github.com/users/ChALkeR/followers","following_url":"https://api.github.com/users/ChALkeR/following{/other_user}","gists_url":"https://api.github.com/users/ChALkeR/gists{/gist_id}","starred_url":"https://api.github.com/users/ChALkeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChALkeR/subscriptions","organizations_url":"https://api.github.com/users/ChALkeR/orgs","repos_url":"https://api.github.com/users/ChALkeR/repos","events_url":"https://api.github.com/users/ChALkeR/events{/privacy}","received_events_url":"https://api.github.com/users/ChALkeR/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T06:01:50Z","updated_at":"2016-02-17T06:01:50Z","body":"@mscdex Have you tried to split the existing `switch` by the length of the input string?"}}