With many relationships, it is very slow to repeatedly call sbom.CoordinatesForPackage due to file.Coordinate.ID() calls. It turns out these relationship functions are not really being used anywhere else, so this PR just deprecates them in favor of using an index.
With many relationships, it is very slow to repeatedly call
sbom.CoordinatesForPackage
due tofile.Coordinate.ID()
calls. It turns out these relationship functions are not really being used anywhere else, so this PR just deprecates them in favor of using an index.