reduzent / netpd

Collaborative Realtime Networked Music Making Environment (MK II)
https://netpd.org
GNU General Public License v2.0
62 stars 5 forks source link

loading instruments or effects cause long during redraw of data structures #42

Closed reduzent closed 10 months ago

reduzent commented 1 year ago

When loading an effect or an instrument, it often triggers a redraw of GUI elements (datastructure scalars, to be precise), which can take up to many seconds, depending on session size, the number of loaded instruments, respectively.

The issue is related to how Pd's changed template detection works. An issue was on opened on the pure-data repo.

reduzent commented 1 year ago

This is related to how Pd triggers redraws of all scalars. It turns out, some of the redraws are not necessary. This PR tries to address this issue. Hopefully, it gets merged.

The current macOS and Windows builds are suppressing redraws completely and shouldn't be affected by this problem anymore:

reduzent commented 10 months ago

The issue is fixed in Pd 0.54.