What empties the cache? Will it grow huge in a server environment because it caches every file every parsed?

Did you verify that diamond library-based build works?

Approved in spirit, if you can address my two questions.

On 2007-11-26, at 14:17 EST, Henry Minsky wrote:

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