-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fast dependency resolution in src/{analysis,model/project}/*.lisp
* src/analysis/dependencies.lisp (dependency-key): new function; construct an index key for a dependency (make-provider-index): new function; make a provider index for fast lookup (index-provider!): new function; add a provider to the index (lookup-providers): new function; find providers for a requirement in an indexed table * src/analysis/package.lisp (package jenkins.analysis): added exported symbols dependency-key, make-provider-index, index-provider! and find-providers * src/model/project/variables.lisp (find-provider/version): use new `lookup-providers' function; adapted to unified provider representation * src/model/project/classes-model.lisp (index-platform-provides): new function; make an index for the platform provides of a version (add-dependencies! version): use `index-platform-provides' * src/model/project/classes-spec.lisp (instantiate distribution-spec): use new index provider machinery to build per-distribution provider index and use it to resolve dependencies
- Loading branch information
Showing
5 changed files
with
53 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters