Files
ResInsight/ApplicationLibCode/ProjectDataModel
Magne Sjaastad 1660e333ff #14493 Delete curves for all cases in one pass when deleting a summary ensemble
deleteSummaryCaseCollection() looped over every case in the ensemble, and for each case scanned every summary plot and called updateConnectedEditors() on every multi plot. For an ensemble with many realizations this scanned each plot once per realization, and updated the connected editors once per realization and multi plot. This showed up as a hot spot in the profiler.

Replace deleteCurvesAssosiatedWithCase() with deleteCurvesAssosiatedWithCases(), which takes a set of cases and returns whether anything was deleted. Each plot is now scanned once, and the connected editors of a multi plot are updated only when that multi plot actually lost a curve.

RicCloseSummaryCaseFeature and RicCloseObservedDataFeature are updated to the new signature. RicCloseSummaryCaseFeature also scans each plot once instead of once per case.
2026-08-10 12:38:41 +02:00
..
2026-06-17 13:55:32 +02:00
2023-05-11 08:37:58 +02:00
2024-11-04 09:54:23 +01:00
2023-06-06 15:45:54 +02:00
2023-04-14 14:07:45 +02:00
2023-04-14 14:07:45 +02:00
2026-06-17 13:55:32 +02:00
2025-01-02 08:06:50 +01:00
2024-11-04 09:54:23 +01:00
2024-03-07 19:45:43 +01:00