~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
..
base-uri.xq 11351.2.3 10 years ago Juan Zacarias Added test for changes on zorba-query for bug 1133 147 bytes Diff Download File
bind-context-item.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 287 bytes Diff Download File
bind-variable.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 248 bytes Diff Download File
context-item.xml 11110.1.1 11 years ago chillery+launchpad at lambda Moved XQXQ into Zorba core. 17 bytes Diff Download File
delete.spec 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 57 bytes Diff Download File
delete.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 176 bytes Diff Download File
error-in-query.spec 11110.1.1 11 years ago chillery+launchpad at lambda Moved XQXQ into Zorba core. 51 bytes Diff Download File
error-in-query.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 630 bytes Diff Download File
evaluate-sequential.xq 11648.1.29 10 years ago Paul J. Lucas Intermediate check-in. 539 bytes Diff Download File
evaluate-sequential2.spec 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 60 bytes Diff Download File
evaluate-sequential2.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 285 bytes Diff Download File
evaluate-updating.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 289 bytes Diff Download File
evaluate-updating2.spec 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 62 bytes Diff Download File
evaluate-updating2.xq 11648.1.29 10 years ago Paul J. Lucas Intermediate check-in. 450 bytes Diff Download File
evaluate.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 166 bytes Diff Download File
evaluate2.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 245 bytes Diff Download File
evaluate3.spec 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 62 bytes Diff Download File
evaluate3.xq 11648.1.29 10 years ago Paul J. Lucas Intermediate check-in. 453 bytes Diff Download File
external-module.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 285 bytes Diff Download File
get-external-variables.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 344 bytes Diff Download File
is-bound-context-item.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 192 bytes Diff Download File
is-bound-variable.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 469 bytes Diff Download File
is-bound-variable2.spec 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 62 bytes Diff Download File
is-bound-variable2.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 272 bytes Diff Download File
is-sequential.xq 11648.1.29 10 years ago Paul J. Lucas Intermediate check-in. 658 bytes Diff Download File
is-updating.xq 11648.1.29 10 years ago Paul J. Lucas Intermediate check-in. 706 bytes Diff Download File
multiple-queries.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 328 bytes Diff Download File
prepare-library-module.spec 11110.1.1 11 years ago chillery+launchpad at lambda Moved XQXQ into Zorba core. 50 bytes Diff Download File
prepare-library-module.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 165 bytes Diff Download File
query-plan.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 255 bytes Diff Download File
query-plan2.xq 11612.3.1 10 years ago Markos Zaharioudakis fixed serializer bug 785 bytes Diff Download File
query-plan3.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 1 KB Diff Download File
query-plan4.spec 11588.1.1 10 years ago chillery+launchpad at lambda Corrected zorba errors/warnings URIs. 39 bytes Diff Download File
query-plan4.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 1002 bytes Diff Download File
test.xml 11110.1.1 11 years ago chillery+launchpad at lambda Moved XQXQ into Zorba core. 110 bytes Diff Download File
test.xsd 11110.1.1 11 years ago chillery+launchpad at lambda Moved XQXQ into Zorba core. 476 bytes Diff Download File
uri-mapper.xq 11612.3.1 10 years ago Markos Zaharioudakis fixed serializer bug 891 bytes Diff Download File
uri-mapper2.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 770 bytes Diff Download File
url-module-resolver.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 640 bytes Diff Download File
url-schema-resolver.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 699 bytes Diff Download File
url-schema-resolver2.xq 11648.1.32 10 years ago Paul J. Lucas Intermediate check-in. 1 KB Diff Download File
url-schema-resolver3.xq 11596.1.1 10 years ago Juan Zacarias XQXQ module modifications: Changed namespace to zo 1019 bytes Diff Download File