From: Wolfgang M. M. <wol...@us...> - 2004-03-25 13:01:38
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/xmlrpc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24347/src/org/exist/xmlrpc Modified Files: RpcConnection.java Log Message: * NativeBroker.findElementsByTagName now directly checks child, descendant and descendant-or-self relations by calling a passed instance of class NodeSelector. This saves one processing step when processing path expressions and reduces memory consumption. * clear the XQueryContext before putting a compiled expression into cache. Index: RpcConnection.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xmlrpc/RpcConnection.java,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** RpcConnection.java 8 Mar 2004 11:21:21 -0000 1.48 --- RpcConnection.java 25 Mar 2004 12:50:51 -0000 1.49 *************** *** 212,215 **** --- 212,216 ---- LOG.info("query took " + (System.currentTimeMillis() - start) + "ms."); expr.reset(); + context.reset(); return result; } |