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
In Bazel, depsets are not always used efficiently. API changes (bazelbuild/bazel#5817) encourage users to write the efficient solution.
We can statically detect bad patterns. For example, this is sometimes used to add things to a depset:
x=depset(..., transitive= [..., x, ...])
If this pattern is used inside a for loop, we should report a warning because it can lead to overly nested depsets (which lead to performance problems).
The text was updated successfully, but these errors were encountered:
In Bazel, depsets are not always used efficiently. API changes (bazelbuild/bazel#5817) encourage users to write the efficient solution.
We can statically detect bad patterns. For example, this is sometimes used to add things to a depset:
If this pattern is used inside a
for
loop, we should report a warning because it can lead to overly nested depsets (which lead to performance problems).The text was updated successfully, but these errors were encountered: