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
I think best_compatible_tag_index is called twice for each wheel in find_wheel;
Indeed, find_wheel calls it directly, but best_compatible_tag_index is also directly used by the various static method returning ProjectInfos, via the ProjectInfo._compatible_only(name, releases) -> ._compatible_wheels -> is_package_compatible -> best_compatible_tag_index(..) is not None.
I think it is likely possible to cache, or carry the tag index along and avoid computing it twice.
The text was updated successfully, but these errors were encountered:
I think best_compatible_tag_index is called twice for each wheel in
find_wheel
;Indeed,
find_wheel
calls it directly, butbest_compatible_tag_index
is also directly used by the various static method returningProjectInfo
s, via theProjectInfo._compatible_only(name, releases)
->._compatible_wheels
->is_package_compatible
->best_compatible_tag_index(..) is not None
.I think it is likely possible to cache, or carry the tag index along and avoid computing it twice.
The text was updated successfully, but these errors were encountered: