Any resources about effective/optimized DOM programming?

Any resources about effective/optimized DOM programming?


Are there any good resources about effective RIA (using jQuery UI) DOM
programming? Lot's of elements, dispatching various events, routing
them to each other, updating through Ajax etc. Generally I'd like to
draw some kind of limits. For example how many DOM there could be, how
many events attached, until user experience gets slow, can I detect
that such limit is close from inside browser, etc. Books, docs,
articles? Does anyone know of any good resource on this topic?