Login
User name:
Password:
Remember me 
Powered by BlogHarbor
Powered by BlogHarbor
Re: More thoughts on compile-time performance
by Michael Kay
I've changed the code for LetExpression (which implements local variables in XSLT) so that the refCount (the number of references to the variable, taking account of loops) is computed during the typeCheck() phase, rather than as a separate scan of the subtree. This eliminates one of the quadratic operations. Compile time, with optimization, is now down from 3900ms to 1500ms under Saxon-B, from 5000ms to 2400ms under Saxon-SA - reassuringly close to the figure of 1180ms with optimization switched off. The Java execution profile still shows opportunities for further improvement.
Post comment:
  Receive comment notifications for this article
Subject: 
Comment: 
Comment verification:

Please enter the text you see inside the graphic to post your comment:
This blog does not allow anonymous comments. Please provide your username and password along with your comment.
Login information:
Username: 
Password: 
If you would like to post contact information on your comment, please enter your information into the optional fields below:
Contact information:
URL:  example: http://yourdomain.com