Dont purge and reload samples when switching to other program with the same samples

As in the Title, i request a change to not purge and reload samples when switching to other program with the same samples. This would help quite a bit with performance.

Example case:
The “Vibrant” library for HalIon has several presets/“programs” which all seem to use the same set of samples, coming in at approximately 12 GiB.

If i load a program and the decide to replace it by a different program, HalIon currently clears its memory and then starts to load the same 12 GiB again.

For use cases like this, it would be nice if HalIon could detect that the samples are used in the old and the new program and just keep them im memory. Loading 12 GiB takes some time, even on an SSD…

This is a great feature request.