~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
..
declare_index 7395 14 years ago spungi Added some index tests. Diff
auction.xml 11122.5.24 11 years ago Markos Zaharioudakis do doc-sort after index probe, unless the query fl 113 KB Diff Download File
auctions1.xml 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 114 KB Diff Download File
auctions1.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 13.9 KB Diff Download File
auctions1u.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.4 KB Diff Download File
auctions2.xml 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 78.4 KB Diff Download File
auctions2.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 986 bytes Diff Download File
auctions2u.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 3.7 KB Diff Download File
auctions_module1.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 5.2 KB Diff Download File
auto_idx_01.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 502 bytes Diff Download File
auto_idx_01.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 558 bytes Diff Download File
available.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.3 KB Diff Download File
count.xq 10836.1.1 12 years ago Matthias Brantner push-down of count(probe-index...) into the store. 161 bytes Diff Download File
count.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 2.2 KB Diff Download File
declared.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 362 bytes Diff Download File
declared.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 814 bytes Diff Download File
delete_from_collection_01.xq 10735.3.11 12 years ago Markos Zaharioudakis bug fix in refreshing index after removing node fr 200 bytes Diff Download File
delete_from_collection_01.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1 KB Diff Download File
error1.spec 11588.1.1 10 years ago chillery+launchpad at lambda Corrected zorba errors/warnings URIs. 39 bytes Diff Download File
error1.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 304 bytes Diff Download File
error2.spec 11588.1.1 10 years ago chillery+launchpad at lambda Corrected zorba errors/warnings URIs. 39 bytes Diff Download File
error2.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 396 bytes Diff Download File
error3.spec 11588.1.1 10 years ago chillery+launchpad at lambda Corrected zorba errors/warnings URIs. 39 bytes Diff Download File
error3.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 354 bytes Diff Download File
error4.spec 11588.1.1 10 years ago chillery+launchpad at lambda Corrected zorba errors/warnings URIs. 39 bytes Diff Download File
error4.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 488 bytes Diff Download File
error_module1.xqlib 11591.1.2 10 years ago chillery+launchpad at lambda Updated URIs for annotations, options, features, c 338 bytes Diff Download File
error_module2.xqlib 11591.1.2 10 years ago chillery+launchpad at lambda Updated URIs for annotations, options, features, c 293 bytes Diff Download File
error_module3.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 482 bytes Diff Download File
index_does_not_exist.spec 11588.1.1 10 years ago chillery+launchpad at lambda Corrected zorba errors/warnings URIs. 39 bytes Diff Download File
index_does_not_exist.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 629 bytes Diff Download File
index_does_not_exist.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 786 bytes Diff Download File
index_does_not_exist_2.spec 11588.1.1 10 years ago chillery+launchpad at lambda Corrected zorba errors/warnings URIs. 39 bytes Diff Download File
index_does_not_exist_2.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 463 bytes Diff Download File
index_exists_already.spec 11588.1.1 10 years ago chillery+launchpad at lambda Corrected zorba errors/warnings URIs. 39 bytes Diff Download File
index_exists_already.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 629 bytes Diff Download File
index_probe_range.spec 11588.1.1 10 years ago chillery+launchpad at lambda Corrected zorba errors/warnings URIs. 39 bytes Diff Download File
index_probe_range.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 654 bytes Diff Download File
keys1.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 812 bytes Diff Download File
keys1g.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 957 bytes Diff Download File
keys2.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 707 bytes Diff Download File
keys3.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 762 bytes Diff Download File
keys_mod.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.4 KB Diff Download File
match_veq_01.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 881 bytes Diff Download File
match_veq_01.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 618 bytes Diff Download File
match_veq_02.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 988 bytes Diff Download File
match_veq_02.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 692 bytes Diff Download File
match_veq_03.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 988 bytes Diff Download File
match_veq_03.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 680 bytes Diff Download File
match_veq_04.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1 KB Diff Download File
match_veq_04.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 671 bytes Diff Download File
match_veq_05.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.4 KB Diff Download File
match_veq_05.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 672 bytes Diff Download File
match_veq_06.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 572 bytes Diff Download File
match_veq_06.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 2.4 KB Diff Download File
match_veq_07.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 707 bytes Diff Download File
match_veq_07.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 869 bytes Diff Download File
match_veq_08.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 541 bytes Diff Download File
match_veq_08.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 417 bytes Diff Download File
match_veq_08b.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 759 bytes Diff Download File
match_veq_09.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 759 bytes Diff Download File
match_veq_09.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 417 bytes Diff Download File
match_veq_10.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 781 bytes Diff Download File
match_veq_10.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 430 bytes Diff Download File
match_veq_11.spec 11122.5.35 11 years ago Markos Zaharioudakis fixed bug in IndexMatchingRule::checkFreeVars 51 bytes Diff Download File
match_veq_11.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 776 bytes Diff Download File
match_veq_11.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 865 bytes Diff Download File
match_vrange_01.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.1 KB Diff Download File
match_vrange_01.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 813 bytes Diff Download File
match_vrange_02.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 2.3 KB Diff Download File
match_vrange_02.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 951 bytes Diff Download File
match_vrange_02a.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 2 KB Diff Download File
match_vrange_02b.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 2.2 KB Diff Download File
match_vrange_03.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 2.3 KB Diff Download File
match_vrange_03.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 939 bytes Diff Download File
match_vrange_04.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 509 bytes Diff Download File
match_vrange_04.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 428 bytes Diff Download File
match_vrange_05.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 508 bytes Diff Download File
match_vrange_05.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 552 bytes Diff Download File
match_vrange_06.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 573 bytes Diff Download File
match_vrange_06.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 539 bytes Diff Download File
multi_key_01.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.1 KB Diff Download File
multi_key_01.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 861 bytes Diff Download File
multi_key_02.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1 KB Diff Download File
multi_key_02.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 909 bytes Diff Download File
news-schema.xsd 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 884 bytes Diff Download File
numbers.xml 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 669 bytes Diff Download File
numbers.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.7 KB Diff Download File
numbers.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.2 KB Diff Download File
numbers.xsd 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 310 bytes Diff Download File
numbers2.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.7 KB Diff Download File
paging.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.2 KB Diff Download File
paging.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.9 KB Diff Download File
probe_index_invalid_params.spec 11588.1.1 10 years ago chillery+launchpad at lambda Corrected zorba errors/warnings URIs. 39 bytes Diff Download File
probe_index_invalid_params.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 582 bytes Diff Download File
remove_collection_with_index.spec 11588.1.1 10 years ago chillery+launchpad at lambda Corrected zorba errors/warnings URIs. 39 bytes Diff Download File
remove_collection_with_index.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 392 bytes Diff Download File
remove_collection_with_index.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 383 bytes Diff Download File
two-automatic-indexes.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 1.6 KB Diff Download File
undo1.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.4 KB Diff Download File
undo2.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.1 KB Diff Download File
undo2.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.3 KB Diff Download File
undo3.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.1 KB Diff Download File
undo4.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.9 KB Diff Download File
undo4.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.1 KB Diff Download File
unique.xq 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1 KB Diff Download File
unique.xqlib 11648.1.22 10 years ago Paul J. Lucas Intermediate check-in. 1.3 KB Diff Download File