On Sun, 27 Aug 2000 06:14:00 -0700, Matt Youell wrote:

>So an int gets stored as two bytes and not
>four or eight. 

Gee, I thought it was more like 30. The savings in bytes don't look too
impressive in this case. 4 byte addition is as fast as 2 byte addition
on most pmodern platforms -- and you definitely may ignore any
difference with regards to Perl's general overhead.

Actually I wouldn't mind a variable-length integer, BigInt, as a
standard type. Take no more bytes than you need. But expand if it's
necessary.

-- 
        Bart.

Reply via email to