[M3devel] what to do about file sizes being 32bits?

Tony Hosking hosking at cs.purdue.edu
Fri Jan 8 20:33:54 CET 2010


They are stored as 1-byte values.  But the values of that type are INTEGERs and operated on as INTEGERs.

On 8 Jan 2010, at 13:58, hendrik at topoi.pooq.com wrote:

> On Fri, Jan 08, 2010 at 11:26:07AM -0500, Tony Hosking wrote:
>> 
>> The question really is what should the top type be?
>> 
>> We don't want to have all ordinal types base themselves on LONGINT 
>> because then they will all incur LONGINT operations (which may be more 
>> expensive than the "natural" INTEGER operations).
> 
> Is it even necessary for a compiler to implement -128..127 as more than 
> one byte?
> 
> -- hendrik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100108/6b40fee7/attachment-0002.html>


More information about the M3devel mailing list