Repeating widget instantiation

Repeating widget instantiation


I was wondering what effect repeating widget instantiation would have
on memory usage in the browser...
For example, calling $("#accordion").accordion(); repeatidly, does the
jQuery UI library have some sort of cache that it checks before
applying the widget all over again?