~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
..
copy_files 8718 13 years ago gabipetrovay Fixed SF bug "file:copy doesn't work for binary fi Diff
sample_files 8410 13 years ago gabipetrovay Added more unit tests for file:files and corrected Diff
common.xqlib 11591.1.2 10 years ago chillery+launchpad at lambda Updated URIs for annotations, options, features, c 4.4 KB Diff Download File
copy.xqlib 11612.3.1 10 years ago Markos Zaharioudakis fixed serializer bug 1 KB Diff Download File
copy_binary.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 45 bytes Diff Download File
copy_binary.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 188 bytes Diff Download File
copy_text.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 45 bytes Diff Download File
copy_text.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 187 bytes Diff Download File
cp1252.txt 10616.1.4 12 years ago Matthias Brantner file:read-text uses the new transcode_streambuf to 4 bytes Diff Download File
cp1252.xq 10616.1.4 12 years ago Matthias Brantner file:read-text uses the new transcode_streambuf to 110 bytes Diff Download File
createWriteReadDeleteSeries.xq 11591.1.2 10 years ago chillery+launchpad at lambda Updated URIs for annotations, options, features, c 3.6 KB Diff Download File
dirname_basename-00.xq 11548.1.1 10 years ago chillery+launchpad at lambda Remove "system" module dependency from core tests. 396 bytes Diff Download File
dirname_basename-01.xq 11548.1.1 10 years ago chillery+launchpad at lambda Remove "system" module dependency from core tests. 368 bytes Diff Download File
dirname_basename-02.xq 11548.1.1 10 years ago chillery+launchpad at lambda Remove "system" module dependency from core tests. 362 bytes Diff Download File
dirname_basename-03.xq 11548.1.1 10 years ago chillery+launchpad at lambda Remove "system" module dependency from core tests. 362 bytes Diff Download File
dirname_basename-04.xq 11548.1.1 10 years ago chillery+launchpad at lambda Remove "system" module dependency from core tests. 294 bytes Diff Download File
dirname_basename-05.xq 10944.1.299 11 years ago Paul J. Lucas dir-name/base-name fix/clean-up. 250 bytes Diff Download File
dirname_basename-06.xq 11548.1.1 10 years ago chillery+launchpad at lambda Remove "system" module dependency from core tests. 368 bytes Diff Download File
file_read_serialize.xq 11547.5.14 10 years ago Paul J. Lucas Intermediate check-in. 600 bytes Diff Download File
file_read_text_lines-2.xq 11713.1.1 10 years ago Federico Cavalieri Fixed external functions skip iterator 170 bytes Diff Download File
file_read_text_lines.xq 10753.4.2 12 years ago Matthias Brantner - check for badbit after reading from stream - add 130 bytes Diff Download File
files_pattern1.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 73 bytes Diff Download File
files_pattern1.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 227 bytes Diff Download File
files_pattern2.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 73 bytes Diff Download File
files_pattern2.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 227 bytes Diff Download File
files_pattern_rec1.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 73 bytes Diff Download File
files_pattern_rec1.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 432 bytes Diff Download File
files_pattern_rec2.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 73 bytes Diff Download File
files_pattern_rec2.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 432 bytes Diff Download File
invalid_encoding.spec 10616.1.6 12 years ago Matthias Brantner added test to check for invalid encodings 42 bytes Diff Download File
invalid_encoding.xq 10616.1.6 12 years ago Matthias Brantner added test to check for invalid encodings 107 bytes Diff Download File
mydata.xml 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 642 bytes Diff Download File
schema.xsd 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 870 bytes Diff Download File
streamability1.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 46 bytes Diff Download File
streamability1.xq 11524.2.7 10 years ago Juan Zacarias Added the function is-seekable to the string modul 286 bytes Diff Download File
streamability2.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 46 bytes Diff Download File
streamability2.xq 11524.2.1 10 years ago Juan Zacarias Changed string module namespace. 336 bytes Diff Download File
streamability3.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 46 bytes Diff Download File
streamability3.xq 11524.2.1 10 years ago Juan Zacarias Changed string module namespace. 339 bytes Diff Download File
validate.xml 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 1.3 KB Diff Download File
validate.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 313 bytes Diff Download File