# HG changeset patch # User Paul Boddie # Date 1257466068 -3600 # Node ID 001d543dc80524266b3427420d15636dbe9dd808 # Parent 837ba944f563fe45776d0b52458cb9584a0168e9 Added more attribute-related notes. diff -r 837ba944f563 -r 001d543dc805 docs/optimisations.txt --- a/docs/optimisations.txt Tue Oct 27 00:23:28 2009 +0100 +++ b/docs/optimisations.txt Fri Nov 06 01:07:48 2009 +0100 @@ -235,6 +235,29 @@ ... return x.attr +With more specific information about the attributes used with a given name, +combinations of attributes can be provided instead of single attributes when +recording attribute usage. For example, from the above: + + x uses method -> indicates potential usage of C.method, D1.method, ... + x uses something -> indicates potential usage of C.something, + D2.something, ... + x uses attr -> indicates potential usage of C.attr, D3.attr, ... + +These unspecific declarations of attribute usage can be replaced with the +following: + + x uses method, something, attr -> indicates potential usage of C, D4, ... + (each providing all of the stated + attributes) + +Reducing Object Table Scope +--------------------------- + +Where attributes may be used in a program but never accessed via the object +table-dependent instructions, such attributes could be omitted from the object +table. + Implemented Optimisation Types ==============================