Issue 8758: BUILD_LIST followed by BINARY_SUBSCR can be optimized to a BUILD_TUPLE if all members of the list are constants (original) (raw)

Issue8758

Created on 2010-05-18 21:46 by alex, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg106008 - (view) Author: Alex Gaynor (alex) * (Python committer) Date: 2010-05-18 21:46
We do the same thing for a BUILD_LIST followed by a COMPARE_OP (in).
msg112397 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-08-01 22:59
I don't think this happens often enough to warrant optimizing.
History
Date User Action Args
2022-04-11 14:57:01 admin set github: 53004
2010-08-01 22:59:43 georg.brandl set status: open -> closednosy: + georg.brandlmessages: + resolution: rejected
2010-05-18 21:46:08 alex create