JuliaLang/julia — comment on commit 5e8fcd5dcb72c3c6e8f1b44dcd44488b22d6c47f
File:  line 0
By JeffBezanson:

Not sure I'd consider this a fix:

```
julia> function foo(r)
s=0
for i in r
s += i
end
s
end

julia> @time foo(1:10000000)
elapsed time: 0.01192808151245117 seconds
50000005000000

julia> @time foo(int32(1):int32(10000000))
elapsed time: 1.99628186225891113 seconds
50000005000000
```