This gives about a 10% speedup in compilation time.

Change 20071126-hqm-2 by [EMAIL PROTECTED] on 2007-11-26 13:43:51 EST
   in /cygdrive/c/users/hqm/openlaszlo/trunk
   for http://svn.openlaszlo.org/openlaszlo/trunk

Summary:  cache parsed library file DOMs in the tag compiler

New Features:

Bugs Fixed: LPP-5150

Technical Reviewer: ptw
QA Reviewer:  ben
Doc Reviewer:

Documentation:

Release Notes:

Details:

Make a hash table in the compilation environment to hold the parsed DOM tree
from
each library, for the duration of the compile.


Tests:

smokecheck
compiled diamond lzmail
amazon
calendar
lztest



Files:
M      WEB-INF/lps/server/src/org/openlaszlo/compiler/LibraryCompiler.java
M
 WEB-INF/lps/server/src/org/openlaszlo/compiler/CompilationEnvironment.java


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071126-hqm-2.tar

Reply via email to