What does this PR do? Why is it needed?
This looks like a 50-100ms speedup from avoiding the array allocation in infer_importpaths and reduced getattr calls. Is getattr slower than direct property access? (If not, we can avoid passing in the values from go_library)
What type of PR is this? Starlark cleanup
What does this PR do? Why is it needed? This looks like a 50-100ms speedup from avoiding the array allocation in infer_importpaths and reduced
getattr
calls. Isgetattr
slower than direct property access? (If not, we can avoid passing in the values from go_library)Which issues(s) does this PR fix?
Fixes #
Other notes for review