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
Using List.iter is idiomatic when iterating through a list, but it causes a function allocation. Because of this, in certain instances, we have to resort to using for..in..do for iteration on a list to prevent a function allocation; we did that in this PR: #8175
Ideally, we should not have to change such idiomatic code to prevent allocations. This issue is to track that.
Using
List.iter
is idiomatic when iterating through alist
, but it causes a function allocation. Because of this, in certain instances, we have to resort to usingfor..in..do
for iteration on a list to prevent a function allocation; we did that in this PR: #8175Ideally, we should not have to change such idiomatic code to prevent allocations. This issue is to track that.
Here is the WIP PR to resolve this issue: #8176
The text was updated successfully, but these errors were encountered: