I did not make any method final here. The SAXImpl class itself is final. We
are just making use of this fact to gain a little bit performance.

Morris Kwan
XSLT Development
IBM Toronto Lab
Tel: (905)413-3729
Email: [EMAIL PROTECTED]



                                                                                       
                                            
                      Joseph                                                           
                                            
                      Kesselman/Watson/        To:       <[EMAIL PROTECTED]>           
                                     
                      [EMAIL PROTECTED]                cc:       [EMAIL PROTECTED]     
                                             
                                               Subject:  Re: cvs commit: 
xml-xalan/java/src/org/apache/xalan/xsltc/dom             
                      03/07/2003 02:16          DOMAdapter.java SAXImpl.java           
                                            
                      PM                                                               
                                            
                      Please respond to                                                
                                            
                      xalan-dev                                                        
                                            
                                                                                       
                                            
                                                                                       
                                            



Note that final methods also cause problems if/when you need to introduce
subclassing/polymorphism, and that SUN's own performance team generally
recommends strongly *AGAINST* trying to use the final keyword as an
optimization trick.

______________________________________
Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"may'ron DaroQbe'chugh vaj bIrIQbej"  ("Put down the squeezebox and nobody
gets hurt.")


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to