I am trying to cut down on memory usage by using Int32 instead of the 
default (on my machine) Int64 in some large data structures.
This is causing me some headaches since Int64s seem to be endemic. E.g.:

julia> x = int32(1)
1

julia> y = int32(2)
2

julia> z = x + y
3

julia> typeof(ans)
Int64

This does not seem reasonable to me... Is there some way to avoid this 
automatic promotion?

Thanks,
David.

Reply via email to