multiple widget instances - performance / scalability best practices

multiple widget instances - performance / scalability best practices

Hi guys,

Say i am developing an application where i need to attach several widgets to every element from a list of elements (between 100 and 1000 elements). In order to avoid having all same handlers attached to every individual element in the list, for which the widgets are going to be created, is there any best practice to make this scenario more robust and scalable? This is just one example, but there are probably more things to consider, for instance avoiding data that could be duplicated  -  common options instance vs. options for the widget of every single element.  Is there any way to resolve these without altering the existing widgets logic? 

Thank you,
Angel