joomla/joomla-cms — pull request #798 by rmcdaniel (2013-03-11 20:17:23+00:00)
Title: [#30274] JFormValidator JavaScript class does not scale well

Joomla!'s JFormValidator JavaScript class does not scale well with large numbers
of form elements. The reason for this is that the handleResponse() method loops
through every label each time it is called. Instead of this, I have modified
the code to do this only once and store the results for future use.

Here is the gist:
https://gist.github.com/rmcdaniel/192835346f68c2ead8fc/revisions

Here is the relevant forum post:
http://forum.joomla.org/viewtopic.php?p=3002410#p3002410

Here is the issue tracker:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=30274