mit-scheme-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MIT-Scheme-devel] tag bits


From: Taylor R Campbell
Subject: [MIT-Scheme-devel] tag bits
Date: Tue, 10 Aug 2010 22:01:07 +0000
User-agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.0.1

Currently, I believe the only objects whose addresses are not aligned
on word boundaries are compiled entries.  If we forced them to be
aligned, then the log_2 (bits per word) low-order bits of every object
address would be zero, and we could shift the address by that many
bits when storing it as an object's datum.

This would let us quadruple the usable virtual address space on 32-bit
systems, or octuple it if we got rid of the scode type tags and some
unused type tags too (using records instead or something) and reduced
the tags to five bits.

Probably more trouble than it's worth, but it's a cute thought
nevertheless which wouldn't require rewriting half of MIT Scheme.

(I still occasionally think about this because while some of you lucky
folks may be on super-snappy 64-bit machines, I'm still using a six-
year-old 32-bit laptop.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]