Update of /cvsroot/monetdb/pathfinder/compiler/xmlimport
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2881/compiler/xmlimport

Modified Files:
      Tag: Nov2009
        xml2lalg_converters.c 
Log Message:
propagated changes of Monday Sep 28 2009 - Wednesday Oct 07 2009
from the Aug2009_NFI branch to the Nov2009 branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/09/28 - boncz: compiler/xmlimport/xml2lalg_converters.c,1.31.6.1
  optimizations for NFI XIRAF use case -- thanks a great bunch Jan R.!!
  
  - ds_link (already in Stable) optimized for 1-node case
  - indices now contain all data (but still not used automatically, nor based 
on Lefteris' new indexing schemes)
  
  most prominently though is: subexpression result caching
  - caching hints in pragmas
  - query enclosed in (# pf:session id:msec ) { query }  or (# pf:session-use 
id:msec ) { query }
    + queries in the same session use the same working set (documents opened 
only once)
    + same working set allows to cache results
    + pf:session-use only uses cache, cannot add to it
      - but, multiple pf:session-use can run concurrently; whereas pf:session 
is exclusive
  - inside a query, an arbitrary number of expressions can be marked up for 
caching/reuse
    + (# pf:cache id ) { subexpr }
    + subexpr may not be enclosed by a for-loop
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: xml2lalg_converters.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/xmlimport/xml2lalg_converters.c,v
retrieving revision 1.31
retrieving revision 1.31.4.1
diff -u -d -r1.31 -r1.31.4.1
--- xml2lalg_converters.c       12 Jun 2009 13:06:19 -0000      1.31
+++ xml2lalg_converters.c       7 Oct 2009 13:48:32 -0000       1.31.4.1
@@ -123,6 +123,7 @@
     mapto (la_empty_frag,      "EMPTY_FRAG")
     mapto (la_error,           "error")
     mapto (la_nil,             "nil")
+    mapto (la_cache,           "cache")
     mapto (la_trace,           "trace")
     mapto (la_trace_items,     "trace items")
     mapto (la_trace_msg,       "trace msg")
@@ -471,6 +472,7 @@
     mapto_fun_call_kind (alg_fun_call_xrpc)
     mapto_fun_call_kind (alg_fun_call_xrpc_helpers)
     mapto_fun_call_kind (alg_fun_call_tijah)
+    mapto_fun_call_kind (alg_fun_call_cache)
 
     PFoops (OOPS_FATAL, "don't know what to do (%s)", s);
     /* pacify picky compilers */


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to