Bug in erl_interface in R9C?

Roberto Amorim wolfoxbr@REDACTED
Thu Aug 21 20:12:38 CEST 2003


> Well, the code is only used with integers bigger than 2^32, so it does not
> affect normal integer decoding. The easy way to avoid making unnecessary
> casts would be to unroll the loop, but i don't think it's worth the
effort.
>
> The nice way would be to read the number from s backwards, and shift n
> instead of the number from get8(s), but that would need changes to the
> putget functions. That would be nice, but i don't think the performance
hit
> is that big to justify the change.

Thanks for the explanation. I'm still far from considering myself a Erlang
newbie... it was just a general C related comment, that I now see that
didn't apply to this specific case.

Regards,

Roberto






More information about the erlang-questions mailing list