kotborealis opened a new issue, #2176:
URL: https://github.com/apache/buildstream/issues/2176

   `Element.__update_cache_keys()` may traverse the same `BUILD` dependency 
graph multiple times while calculating weak and strict cache keys.
   PR #2172 reduces this locally by materializing the dependency list once and 
reusing it for both calculations, but `Element._dependencies()` could be cached 
with something like 
[`@functools.cache`](https://docs.python.org/3/library/functools.html#functools.cache).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to