{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/14407","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/14407/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/14407/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/14407/events","html_url":"https://github.com/JuliaLang/julia/issues/14407","id":122147611,"number":14407,"title":"`widen` should not widen to more than 32 bits unless necessary","user":{"login":"eschnett","id":213514,"avatar_url":"https://avatars.githubusercontent.com/u/213514?v=3","gravatar_id":"","url":"https://api.github.com/users/eschnett","html_url":"https://github.com/eschnett","followers_url":"https://api.github.com/users/eschnett/followers","following_url":"https://api.github.com/users/eschnett/following{/other_user}","gists_url":"https://api.github.com/users/eschnett/gists{/gist_id}","starred_url":"https://api.github.com/users/eschnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eschnett/subscriptions","organizations_url":"https://api.github.com/users/eschnett/orgs","repos_url":"https://api.github.com/users/eschnett/repos","events_url":"https://api.github.com/users/eschnett/events{/privacy}","received_events_url":"https://api.github.com/users/eschnett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-14T22:35:39Z","updated_at":"2015-12-15T09:54:22Z","closed_at":null,"body":"As discussed in #14362: 32-bit integer division is significantly faster than 64-bit integer division.\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/164706773","html_url":"https://github.com/JuliaLang/julia/issues/14407#issuecomment-164706773","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/14407","id":164706773,"user":{"login":"simonbyrne","id":1692009,"avatar_url":"https://avatars.githubusercontent.com/u/1692009?v=3","gravatar_id":"","url":"https://api.github.com/users/simonbyrne","html_url":"https://github.com/simonbyrne","followers_url":"https://api.github.com/users/simonbyrne/followers","following_url":"https://api.github.com/users/simonbyrne/following{/other_user}","gists_url":"https://api.github.com/users/simonbyrne/gists{/gist_id}","starred_url":"https://api.github.com/users/simonbyrne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonbyrne/subscriptions","organizations_url":"https://api.github.com/users/simonbyrne/orgs","repos_url":"https://api.github.com/users/simonbyrne/repos","events_url":"https://api.github.com/users/simonbyrne/events{/privacy}","received_events_url":"https://api.github.com/users/simonbyrne/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T09:54:22Z","updated_at":"2015-12-15T09:54:22Z","body":"Some other arguments in favour:\r\n\r\n1. consistency across platforms (`widen(Int(8))` will do the same thing on 32 & 64 bit)\r\n2. smaller integers can have bigger gains from vectorization"}}