[Python-Dev] LOAD_SELF and SELF_ATTR opcodes (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sat Oct 15 00:33:24 CEST 2005
- Previous message: [Python-Dev] LOAD_SELF and SELF_ATTR opcodes
- Next message: [Python-Dev] LOAD_SELF and SELF_ATTR opcodes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Phillip J. Eby wrote:
Anyway, my main question is, do these sound like worthwhile optimizations?
In the past, I think the analysis was always "no". It adds an opcode, so increases the size of the switch, causing more pressure on the cache, with an overall questionable effect.
As for measuring the effect of the change: how often does that pattern occur in the standard library? (compared to what total number of LOAD_ATTR)
Regards, Martin
- Previous message: [Python-Dev] LOAD_SELF and SELF_ATTR opcodes
- Next message: [Python-Dev] LOAD_SELF and SELF_ATTR opcodes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]