Bug in erl_interface in R9C?

Roberto Amorim wolfoxbr@REDACTED
Wed Aug 20 22:38:40 CEST 2003


> The result of get8(s) << shift is an integer, but when the shift makes the
> number bigger than 2^32 the remaining bits are discarded. Putting a cast
> to force the result to be 64 bits solves the problem.

What about the performance? Unnecessary casts are a common source of
unwanted performance problems.

Best regards,

Roberto






More information about the erlang-questions mailing list