[Vm-dev] SmallIntPair as immediate word
Tobias Pape
Das.Linux at gmx.de
Tue Apr 9 19:14:23 UTC 2019
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
I'm _really_ interested how you arrived at those numbers. Can you share the code for your analysis?
Best regards
-Tobias
More information about the Vm-dev
mailing list