Copying, updating keys, layout

Hi…Thanks for all your help and valuable suggestions. I tried Copy pasting components in my layout. The logic behind scene is when there are lot of components to be copied …it takes so much time to copy the components and make visible in layout…Actually I’m copying components as soon as on pasting calling ajax call for updating the ID need to be generated against the newly copied component s which I am identifying based on newly generated key in layout for the component.
Really it is taking lot of time while drawing complete components in layout.
Can anyone please help me to get ride out for the issue

I’ve moved this to its own topic, since you seem to be asking a different question regarding performance rather than achieving correct results.

Could you explain more precisely what and when the problem is?