[Python-Dev] Speeding up instance attribute access (original) (raw)
Martin v. Loewis martin@v.loewis.de
11 Feb 2002 13:15:59 +0100
- Previous message: [Python-Dev] Speeding up instance attribute access
- Next message: [Python-Dev] Speeding up instance attribute access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido van Rossum <guido@python.org> writes:
- We need fallbacks for various exceptional cases:
I think assignment to class also needs to be considered. Therefore, it may be best if the member array is a separate block (not allocated with the instances).
It might also be worthwhile to incorporate slots access into that scheme, to avoid having to find the member descriptor in the class dictionary.
Regards, Martin
- Previous message: [Python-Dev] Speeding up instance attribute access
- Next message: [Python-Dev] Speeding up instance attribute access
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]