Right now, addon panels create their own controls all at once and they stay around unused most of the time. Using a control pool in order to minimize memory usage might be a possibility worth to investigate.
There are two problems that have to be addressed before this can work.
Heights needs to be calculated in advance in order to make scroll bars work correctly and also let us determine how many elements are visible.
Named elements need to be created in a way that allows access regardless of pooling.
Right now, addon panels create their own controls all at once and they stay around unused most of the time. Using a control pool in order to minimize memory usage might be a possibility worth to investigate.
There are two problems that have to be addressed before this can work.
Heights needs to be calculated in advance in order to make scroll bars work correctly and also let us determine how many elements are visible.
Named elements need to be created in a way that allows access regardless of pooling.