You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[mypyc] Optimize list->vec and tuple->vec conversions (#21375)
Now we specialize these conversions for each vec variant (except for
nested, where it doesn't seem as useful). Previously they'd use append
for each item, which tends to be slow. They also used generic iterators
in some use cases, which is inefficient, especially for a small number
of items where the iterator construction and freeing is significant.
---------
Co-authored-by: Piotr Sawicki <sawickipiotr@outlook.com>
0 commit comments