Message384466
> The gist seems to be to have extra opcodes that only work for certain situations (e.g. INT_BINARY_ADD). In a hot function we can rewrite opcodes with their specialized counterpart. The new opcode contains a guard that rewrites itself back if the guard fails (and then it stays unoptimized).
This is also roughly what I suggested in https://bugs.python.org/msg379333. Except that I don't think it's necessary to add new opcodes. |
|
Date |
User |
Action |
Args |
2021-01-06 03:42:49 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, barry, nascheme, methane, Mark.Shannon, Guido.van.Rossum, corona10, pablogsal, BTaskaya |
2021-01-06 03:42:49 | yselivanov | set | messageid: <1609904569.95.0.504487689895.issue42115@roundup.psfhosted.org> |
2021-01-06 03:42:49 | yselivanov | link | issue42115 messages |
2021-01-06 03:42:49 | yselivanov | create | |
|