[m-rev.] for review: put almost all layout structures in arrays
Paul Bone
pbone at csse.unimelb.edu.au
Thu Oct 29 15:01:34 AEDT 2009
On Thu, Oct 29, 2009 at 11:50:23AM +1100, Zoltan Somogyi wrote:
> 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.
>
This makes sense.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20091029/50731972/attachment.sig>
More information about the reviews
mailing list