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=22333>. 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=22333 JXPathContextFactory doesn't cache most common result of search [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 2003-08-24 02:37 ------- I fixed it basically as suggested. However, I would recommend using JXPathContext.newContext() instead of JXPathContextFactory.newInstance ().newInstance(), because the static JXPathContext.newContext() method uses additional cache. JXPathContextFactory caches the name of the factory class. JXPathContext statically caches the instance of factory. Thus, using JXPathContext.newContext() eliminates repeated allocation of the factory. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
