[cvs] commit: dimp/js/src DimpCore.js ViewPort.js dimp/js DimpCore.js ViewPort.js
Michael M Slusarz
slusarz at horde.org
Fri Jul 27 06:29:13 UTC 2007
slusarz 2007-07-27 02:29:13 EDT
Modified files:
js/src DimpCore.js ViewPort.js
js DimpCore.js ViewPort.js
Log:
Add Hash.flip().
Don't need ViewPort_Buffer.updated.
Build lookup table in buffer object to do id -> rownum lookups. *Drastically*
improves performance on all activities that deal with row manipulation, since
almost every manipulation calls getRowById() numerous times. Example:
doing a select all with 300 messages in a mailbox was previously calling
prototype's detect() function 700,000 (!) times - that number has been
reduced to 0.
Revision Changes Path
1.284 +1 -1 dimp/js/DimpCore.js
1.175 +1 -1 dimp/js/ViewPort.js
1.284 +14 -7 dimp/js/src/DimpCore.js
1.152 +14 -16 dimp/js/src/ViewPort.js
Chora Links:
http://cvs.horde.org/diff.php/dimp/js/DimpCore.js?r1=1.283&r2=1.284&ty=u
http://cvs.horde.org/diff.php/dimp/js/ViewPort.js?r1=1.174&r2=1.175&ty=u
http://cvs.horde.org/diff.php/dimp/js/src/DimpCore.js?r1=1.283&r2=1.284&ty=u
http://cvs.horde.org/diff.php/dimp/js/src/ViewPort.js?r1=1.151&r2=1.152&ty=u
More information about the cvs
mailing list