We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 888b971 commit 2b0cb4bCopy full SHA for 2b0cb4b
mypyc/irbuild/for_helpers.py
@@ -1213,7 +1213,7 @@ def get_expr_length(expr: Expression) -> int | None:
1213
# TODO: extend this, passing length of listcomp and genexp should have worthwhile
1214
# performance boost and can be (sometimes) figured out pretty easily. set and dict
1215
# comps *can* be done as well but will need special logic to consider the possibility
1216
- # of key conflicts
+ # of key conflicts. Range, enumerate, zip are all simple logic.
1217
return None
1218
1219
0 commit comments