perf tuning checkins
Mark Anderson <[email protected]>
| Newsgroups | gmane.comp.windows.devel.netwindows |
|---|---|
| Message-ID | <[email protected]> |
I've checked in some perf tuning changes to about 4 files today. There are no public features added (or broken, hopefully). Some of the perf changes include: - eliminate useless testing of hasAttr before getAttr - use firstChild/nextSibling loop instead of childNodes loop in DOM - don't play games with arguments arrays, just use Function.call - in the sort table widget, don't parse its potentially myriad children; just assume there are no property declarations there. Some of the cleanups include: - attempt to straighten out some more cases where Array instances are pointlessly used for non-Number index lookup. btw, as a consequence of changes i and alex made over the past few weeks, it should be possible to do the moral equivalent of cat of the js files into a single library file, as long as you get the order right. This will avoid a lot of If-Modified-Since checking and dynamic loading of files. This is created with the "single-core-file" ant target. To make it work requires some settings in nwWrapper.js concerning "autoload" and probably "rootPath". I'll let alex clarify; i don't know how far he has taken it. -mda _______________________________________________ The netWindows developers list: [email protected] http://netwindows.org/mailman/listinfo/devel_netwindows.org