[Vm-dev] SmallIntPair as immediate word

Stephan Eggermont stephan at stack.nl
Wed Apr 10 10:33:15 UTC 2019


Tobias Pape <Das.Linux at gmx.de> wrote:
>  
Hi Subbu,


> On 09.04.2019, at 18:44, K K Subbu <kksubbu.ml at gmail.com> wrote:
> 
> 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

Does that hold when using 8K displays?

Stephan





More information about the Vm-dev mailing list