1.1 --- a/docs/rationale.txt Mon Mar 24 23:53:18 2008 +0100
1.2 +++ b/docs/rationale.txt Mon Mar 31 00:54:03 2008 +0200
1.3 @@ -25,9 +25,29 @@
1.4 * Potentially lots of code
1.5 * Lots of executed instructions
1.6
1.7 +Improving attribute access performance
1.8 +
1.9 + * Achieve faster access using a different representation
1.10 + * Must define attributes of objects in advance
1.11 + * Restriction: modules, classes, instances are "closed"
1.12 + * Evaluate the limitations: are they too disruptive?
1.13 +
1.14 +Consequences of revised attribute access
1.15 +
1.16 + * Cannot extend the range of attributes on objects
1.17 + * Further optimisations:
1.18 + * Restriction: attempt to control modification of attributes
1.19 + * Result: further optimisation of accesses
1.20 +
1.21 +Invocations
1.22 +
1.23 + * Target checking
1.24 + * Number of arguments vs. number of parameters
1.25 + * Keyword parameter resolution
1.26 + * Defaults
1.27 +
1.28 Other costly operations
1.29
1.30 - * Keyword parameter resolution
1.31 * Binary operators
1.32 * Comparisons
1.33