Unique all characters?

Andreas Raab andreas.raab at gmx.de
Tue Jan 29 21:24:50 UTC 2008


nicolas cellier wrote:
> But we do not need to reserve two tag bits for every case:
> 
> xxx..xxx1 is a SmallInteger on 31 bits
> xxx..xx10 is a Character
> xxx..xx00 is an OOP
> 
> This does not put pressure on integer

You may want to read this post:

http://lists.squeakfoundation.org/pipermail/vm-dev/2006-January/000429.html

It outlines a similar approach except that it adds 64 immediate classes 
instead of one and in return reduces the number of available bits to 24 
(which makes for nice 1x24, 2x12, 3x8, 4x6 usage patterns in characters, 
immediate points, short colors etc)

Cheers,
   - Andreas



More information about the Squeak-dev mailing list