The "mask" stored in the cache of COMPARE_OP could be stored in the oparg.
#100923
Labels
performance
Performance or resource usage
The "when to branch mask" used by specializations of
COMPARE_OPtakes 4 bits, the comparison operator take 3 bits.Since the mask can be computed at compile time, it should be stored in the oparg along with the comparison operator.
This would free up a cache entry.
Linked PRs
COMPARE_OPoparg #100924The text was updated successfully, but these errors were encountered: