Hi Hans, I noticed the same problem today and realized that the reason is the empty()-method which is called by html. May be you want to read this post:
http://groups.google.com/group/jquery-en/browse_thread/thread/fea89caebdbb8453 in which I explained my opinion of the problem and solution in more detail. regards michael On 12 Mrz., 12:55, hans <[EMAIL PROTECTED]> wrote: > Hi, > > I noticed that when i replace a large table(1000 tr's) in a div with > > $('#div_id").html(val); > > The performance gets poor, i got over 10000 calls to the functions > nodeName() and unique(). Replacing the line with > document.getElementById('div_id").innerHTML=val; is more then 4 > seconds faster in my case. > > Is the html() function meant for something else or am i using it wrong > or is this still a performance issue? > > regards. > Hans