Represent version specifiers as intervals for faster filtering
Represent version specifiers as intervals for faster filtering: a task in deepagent (Harbor dataset). The current implementation of Specifier and SpecifierSet filters candidate versions by iterating and testing each version against the specifier logic. For anything beyond trivial specifiers this…
The task
The current implementation of `Specifier` and `SpecifierSet` filters candidate versions by iterating and testing each version against the specifier logic. For anything beyond trivial specifiers this scales poorly, and complex specifier sets become very expensive to evaluate.
Part of BaseIntelligence/deepagent.