[Vm-dev] SmallIntPair as immediate word

K K Subbu kksubbu.ml at gmail.com
Tue Apr 9 16:44:22 UTC 2019


All,

Squeak release image contains around 15k Points with none using more 
than 24 bits per coordinate.

On 64-bit machines, it should be possible to pack two integers of a pair 
into a single immediate word - 30+30.

Has anyone tried to do this? It would save space and eliminate object 
alloc. But I am not sure about the overall performance hit.

Regards .. Subbu


More information about the Vm-dev mailing list