You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2003/04/07 17:22:02 UTC

DO NOT REPLY [Bug 18764] New: - XSLTC: performance improvement for stepPattern[last()]

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18764>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18764

XSLTC: performance improvement for stepPattern[last()]

           Summary: XSLTC: performance improvement for stepPattern[last()]
           Product: XalanJ2
           Version: CurrentCVS
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: org.apache.xalan.xsltc
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: mkwan@ca.ibm.com


A todo item for future performance improvement in XSLTC. The idea was 
originally suggested by Henry Zongaro (zongaro@ca.ibm.com).

The code to handle StepPattern[last()] is not efficient at the moment. The 
generated translet code currently make use of the DTMAxisIterator.getLast() 
method, which does not seem to be an efficient solution. One possible solution 
is to add an isLastNode() method and change the compiled code to make use of 
that.