Releases: networmix/NetGraph-Core
Releases · networmix/NetGraph-Core
v0.3.2
[0.3.2] - 2025-12-12
Fixed
- Profiling: Fix ODR violation that caused empty stats when profiling was enabled. Moved
profiling_enabled()andProfilingStats::instance()definitions from inline header toprofiling.cppto ensure a single instance when static library is linked into the Python module.
v0.3.1
[0.3.1] - 2025-12-08
Added
- Profiling: Runtime profiling infrastructure for C++ hot paths (
shortest_paths_core,place_demand,place_on_dag).- Enable via
NGRAPH_CORE_PROFILE=1environment variable. - Python API:
profiling_enabled(),profiling_dump(),profiling_reset(). - Minimal overhead when disabled (single static bool check per instrumented scope).
- ~2% overhead when enabled.
- Enable via
Changed
- Build: Default optimizations: LTO, loop unrolling,
-fno-math-errno. Addmake install-nativefor CPU-specific builds.
v0.3.0
v0.2.3
[0.2.3] - 2025-12-06
Changed
- Python bindings:
StrictMultiDiGraph.from_arraysnow requiresext_edge_idsso callers always supply stable external edge identifiers. - FlowPolicy: construction is now config-only (via
FlowPolicyConfig), dropping the parameter-heavy constructor.
Fixed
- FlowGraph:
get_flow_pathnow filters only below-kEpsilonnoise so paths are reconstructed even when per-edge allocations are smaller thankMinFlow.