SIGN IN SIGN UP
python / mypy UNCLAIMED

Optional static typing for Python

0 0 0 Python

[mypyc] Add vec iterators (#21135)

Add specialized `librt.vecs.vec` iterator classes. There are no
primitives for `iter(v)` yet, though we could add them later. Generally
using `iter(v)` should be avoided when using vecs, since the generic
iterator protocol is inefficient for unboxed items.

I used coding agent assist but reviewed generated code carefully (this
is mostly boilerplate).
J
Jukka Lehtosalo committed
3fbbd55586d528fb7de4cca8975e920a0e3f995d
Parent: a25c331
Committed by GitHub <noreply@github.com> on 4/1/2026, 12:25:04 PM