{"action":"created","issue":{"url":"https://api.github.com/repos/barneycarroll/asarg/issues/2","repository_url":"https://api.github.com/repos/barneycarroll/asarg","labels_url":"https://api.github.com/repos/barneycarroll/asarg/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/barneycarroll/asarg/issues/2/comments","events_url":"https://api.github.com/repos/barneycarroll/asarg/issues/2/events","html_url":"https://github.com/barneycarroll/asarg/pull/2","id":133379360,"number":2,"title":"Optimize for small numbers of arguments","user":{"login":"isiahmeadows","id":4483844,"avatar_url":"https://avatars.githubusercontent.com/u/4483844?v=3","gravatar_id":"","url":"https://api.github.com/users/isiahmeadows","html_url":"https://github.com/isiahmeadows","followers_url":"https://api.github.com/users/isiahmeadows/followers","following_url":"https://api.github.com/users/isiahmeadows/following{/other_user}","gists_url":"https://api.github.com/users/isiahmeadows/gists{/gist_id}","starred_url":"https://api.github.com/users/isiahmeadows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isiahmeadows/subscriptions","organizations_url":"https://api.github.com/users/isiahmeadows/orgs","repos_url":"https://api.github.com/users/isiahmeadows/repos","events_url":"https://api.github.com/users/isiahmeadows/events{/privacy}","received_events_url":"https://api.github.com/users/isiahmeadows/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-13T00:44:58Z","updated_at":"2016-02-13T22:47:47Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/barneycarroll/asarg/pulls/2","html_url":"https://github.com/barneycarroll/asarg/pull/2","diff_url":"https://github.com/barneycarroll/asarg/pull/2.diff","patch_url":"https://github.com/barneycarroll/asarg/pull/2.patch"},"body":"I also have a tagalong commit to expand the README to include license/examples (and reference the related [ES function bind proposal](https://github.com/zenparsing/es-function-bind)), but it's easy to remove, if you would rather leave that out."},"comment":{"url":"https://api.github.com/repos/barneycarroll/asarg/issues/comments/183767184","html_url":"https://github.com/barneycarroll/asarg/pull/2#issuecomment-183767184","issue_url":"https://api.github.com/repos/barneycarroll/asarg/issues/2","id":183767184,"user":{"login":"isiahmeadows","id":4483844,"avatar_url":"https://avatars.githubusercontent.com/u/4483844?v=3","gravatar_id":"","url":"https://api.github.com/users/isiahmeadows","html_url":"https://github.com/isiahmeadows","followers_url":"https://api.github.com/users/isiahmeadows/followers","following_url":"https://api.github.com/users/isiahmeadows/following{/other_user}","gists_url":"https://api.github.com/users/isiahmeadows/gists{/gist_id}","starred_url":"https://api.github.com/users/isiahmeadows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isiahmeadows/subscriptions","organizations_url":"https://api.github.com/users/isiahmeadows/orgs","repos_url":"https://api.github.com/users/isiahmeadows/repos","events_url":"https://api.github.com/users/isiahmeadows/events{/privacy}","received_events_url":"https://api.github.com/users/isiahmeadows/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T22:47:47Z","updated_at":"2016-02-13T22:47:47Z","body":"@barneycarroll Just in case. Typos and dumb mistakes happen, so IMHO too many tests are better than not enough.\r\n\r\nThe reason I added them is because of the special cases I added. 0, 1, 2, 3, and 4 are all special-cased, while 5 and greater are not. Each special case has its own corresponding test, and the general case has two: 5 to confirm it does its job at the lower bound, and 10 to just make sure it doesn't mysteriously break with anything higher. Call me cautious, if you would like."}}