~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
..
allowing-empty 8141 13 years ago nbrinza - Implemented the changes need to remove the "oute Diff
data.xqlib 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 186 bytes Diff Download File
gflwor00.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 130 bytes Diff Download File
gflwor01.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 140 bytes Diff Download File
gflwor02.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 170 bytes Diff Download File
gflwor03.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 179 bytes Diff Download File
gflwor04.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 73 bytes Diff Download File
gflwor05.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 182 bytes Diff Download File
gflwor06.xq 10900.1.114 11 years ago Markos Zaharioudakis Fixed bug in computing the static type of an allow 83 bytes Diff Download File
gflwor07.xq 11648.1.29 10 years ago Paul J. Lucas Intermediate check-in. 528 bytes Diff Download File
gflwor08.xq 11648.1.29 10 years ago Paul J. Lucas Intermediate check-in. 736 bytes Diff Download File
gflwor09.xq 10900.1.242 11 years ago Markos Zaharioudakis Fixed bug #1190407 (wrong rewrite of if-then-else 244 bytes Diff Download File
gflwor_ex1.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 139 bytes Diff Download File
gflwor_ex2.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 165 bytes Diff Download File
gflwor_ex2.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 350 bytes Diff Download File
gflwor_ex3.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 84 bytes Diff Download File
gflwor_ex3.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 179 bytes Diff Download File
gflwor_ex4.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 164 bytes Diff Download File
gflwor_ex4.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 411 bytes Diff Download File
gflwor_ex5.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 164 bytes Diff Download File
gflwor_ex5.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 750 bytes Diff Download File
gflwor_ex6.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 842 bytes Diff Download File
gflwor_ex7.xq 11648.1.36 10 years ago Paul J. Lucas Merge from trunk. 1 KB Diff Download File
products.xml 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 641 bytes Diff Download File
sales-records.xml 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 1 KB Diff Download File