Extraneous repeat calls to BuildDependencyGraph()
Maintainers usually reply within 1 day
@isc-jili is already working on this.
Since Dec 23, 2025.
Assessment
This issue has not been assessed yet.
Description
After sync loading of dependencies was made the default once #885 was done, there only ever needs to be a single top level call to BuildDependencyGraph. Specifically, BuildDependencyGraph() gets called for every single dependency, which is wasted cycles.
This is observed with extreme severity with a case such as HSLIB, where a high number of modules are affected.
What really should happen, is break LoadNewModule() into two different methods:
- LoadBaseModule() will load dependent modules (build dependency graph ONCE) before loading itself and
- LoadDependentModule() will just load itself.
- Dominant language
- ObjectScript
- Stars
- 41
- Forks
- 33
- Avg merge
- 23h 20m
- Merged PRs (30d)
- 29
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from intersystems/ipm
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
intersystems/ipm#1338 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
intersystems/ipm#1241 ·
Maintainers usually reply within 1 day
-
CI checks on IRIS for Health Community 2025.3 failing: license expiredPossibly taken @isc-eneil claimed this 2 days ago. Openbug
intersystems/ipm#1335 · 1 assignee ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
intersystems/ipm#1328 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 53/100
intersystems/ipm#1327 ·
Maintainers usually reply within 1 day