Extraneous repeat calls to BuildDependencyGraph()

Đang mở
#998 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@isc-jili đang làm issue này rồi.

Từ ngày 23/12/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug

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:

  1. LoadBaseModule() will load dependent modules (build dependency graph ONCE) before loading itself and
  2. LoadDependentModule() will just load itself.
Ngôn ngữ chính
ObjectScript
Star
41
Fork
33
Merge trung bình
23 giờ 20 phút
Pull request đã merge (30 ngày)
29

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của intersystems/ipm

Tất cả issue của intersystems/ipm

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.