Summary
from_res1d takes about 18-25 seconds on a moderately sized network file. The documented nodes=[...], reaches=[] filtering cuts that to around 5 seconds, but the remaining time is still mostly spent building topology rather than reading data.
In a calibration loop that rebuilds the network for every trial, this dominates the runtime — matching itself is already fast in comparison.
Request
Support selective or lazy ingestion by quantity, on top of the existing node/reach filtering, so calibration workflows can build only what a given trial needs.
Relevant entry points
Network.from_res1d (src/modelskill/network.py:351-447)
Network._load_res1d_network (network.py:448-487)
Found by a test user evaluating the network functionality ahead of a 1.4.0 release.
Summary
from_res1dtakes about 18-25 seconds on a moderately sized network file. The documentednodes=[...], reaches=[]filtering cuts that to around 5 seconds, but the remaining time is still mostly spent building topology rather than reading data.In a calibration loop that rebuilds the network for every trial, this dominates the runtime — matching itself is already fast in comparison.
Request
Support selective or lazy ingestion by quantity, on top of the existing node/reach filtering, so calibration workflows can build only what a given trial needs.
Relevant entry points
Network.from_res1d(src/modelskill/network.py:351-447)Network._load_res1d_network(network.py:448-487)Found by a test user evaluating the network functionality ahead of a 1.4.0 release.