Sam Vilain wrote:
AIUI, another effect of adding another indirection to every pointer lookup,
is that it will place a little extra stress on the memory caching systems,
as two regions will need to be accessed continually.
Yes, that's of course true. But please compare:
now indirect access
pmc->int_val pmc->body->int_val # or num_val
pmc->pmc_ext->data[1] pmc->body[N + 1] # object 2nd attr
That means, we loose a bit with currently optimized Integer and Float
PMCs (for which we have natural data access too) and win with tuples
(fixed-sized or small arrays) and objects.
Sam.
leo