[m-rev.] for review: put almost all layout structures in arrays
Zoltan Somogyi
zs at csse.unimelb.edu.au
Thu Oct 29 11:50:23 AEDT 2009
On 29-Oct-2009, Paul Bone <pbone at csse.unimelb.edu.au> wrote:
> Do we know if this effects execution speed? It may change locality of
> reference. I can't say if I expect to see an improvement, a loss or no
> change, caching effects are hard to predict :-).
This change does not affect what instruction sequence gets executed either
in non-debug grades, or in debug grades outside the debugger. The data
structures it changes are consulted only when the debugger has either stopped
for user interaction, or is considering stopping by evaluating the condition
on a conditional breakpoint.
There may be cache effects due to the code being executed being moved around,
but those effects can be ignored, because they average out in the long term.
Zoltan.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list