Hi folks,
I have a large HTML fragment that I load via AJAX. The fragment is big
(~660KB),
and it takes over 2s (more like 2.7s) to insert it.
I've profiled the code, and it turns out that most of the time is
spent in the .trim()
function. It is being called from .clean() (around line 835):
// Trim whitespace, otherwise indexOf won't
work as expected
var tags = jQuery.trim( elem ).toLowerCase();
Is this something that can be fixed?
Dimi.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---