keith
2
Are you doing this on the server side, or in the page? And, in doing this, are you doing it in a single workflow or doing it using “workflow on a list” or using recursive workflows?
(Because there’s no reason you can’t do this in a single workflow, which would be the most obvious optimization, if you hadn’t done that yet.)
Even though Run JavaScript isn’t the most efficient thing in the world (because it uses eval()), the real performance bottleneck here is sourcing the Contacts (the Search that complies the list of Contacts).
I have more to say about this based on some recent experiments.