~zorba-coders/zorba/trunk

  • Committer: Zorba Jenkins
  • Author(s): Federico Cavalieri
  • Date: 2014-04-29 20:37:35 UTC
  • mfrom: (11714.2.7 feature-caching-annotations)
  • Revision ID: jenkins@lambda.nu-20140429203735-mgu2acarnn71p66l
Greatly improved function caching.

* Changed function annotations:
  - %an:deterministic: disables caching (previously %an:no-cache)
  - %an:strictlydeterministic: enables caching for deterministic and non-deterministic functions. Cache is only within the same snapshot.
  - %an:cache enables caching  for deterministic, non-deterministic and sequential functions. Caches is across snapshots. (unchanged)
  - %an:exclude-from-cache-key(n) specifies that a function argument has to be ignored when computing the cache key
  - %an:compare-with-deep-equal(n) specifies that a function argument has to be compared with deep-equal semantics
  
* Changed criteria for default annotations of internal and external functions:
  - Functions which have no %an:deterministic, %an:nondeterministic or %an:strictlydeterministic annotations and all their parameter and the return types are atomics are now automatically annotated %an:strictlydeterministic
  - All the other functions are annotated %an:deterministic
* Added snapshot id in global dynamic context
* Added dynamic context xquery module
* Added strict equality hashmap
* Reimplemented %an:cache
* Enabled caching for function that have non atomic arguments
* Whenever the eager evaluation of a function arguments raises an error, the evaluation is retried without cache. The function cache is then disabled if it was automatically detected.
Approved: Matthias Brantner, Federico Cavalieri
Filename Latest Rev Last Changed Committer Comment Size
..
bids.xml 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 1.9 KB Diff Download File
emptydoc.xml 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 46 bytes Diff Download File
fn-namespace-uri-17.spec 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 164 bytes Diff Download File
fn-namespace-uri-17.xq 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 369 bytes Diff Download File
ForExpr010.spec 10900.1.42 11 years ago Markos Zaharioudakis added more tests 153 bytes Diff Download File
ForExpr010.xq 10900.1.42 11 years ago Markos Zaharioudakis added more tests 324 bytes Diff Download File
ForExpr025.spec 10900.1.42 11 years ago Markos Zaharioudakis added more tests 153 bytes Diff Download File
ForExpr025.xq 10900.1.42 11 years ago Markos Zaharioudakis added more tests 297 bytes Diff Download File
fsx.xml 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 233 KB Diff Download File
items.xml 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 1.8 KB Diff Download File
nodeexpression47.spec 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 219 bytes Diff Download File
nodeexpression47.xq 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 1.3 KB Diff Download File
rdb-queries-results-q5.spec 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 284 bytes Diff Download File
rdb-queries-results-q5.xq 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 1 KB Diff Download File
staff.xml 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 643 bytes Diff Download File
users.xml 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 658 bytes Diff Download File
WhereExpr001.spec 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 155 bytes Diff Download File
WhereExpr001.xq 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 334 bytes Diff Download File
works.xml 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 1.1 KB Diff Download File
XQTSCatalog.xml 10900.1.41 11 years ago Markos Zaharioudakis fixed bug #850652 142 KB Diff Download File