Re: RFC 161 (v2) OO Integration/Migration Path

[email protected] (Bart Lateur)
Newsgroups perl.perl6.language.objects
Organization MediaMind
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.