~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
..
format-integer 11239.2.23 11 years ago Paul J. Lucas Better subdirectory name. Diff
format-number 11239.2.24 11 years ago Paul J. Lucas Intermediate check-in. Diff
comp01.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 23 bytes Diff Download File
decimal-format-900.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 49 bytes Diff Download File
decimal-format-900.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 267 bytes Diff Download File
decimal-format-901.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 49 bytes Diff Download File
decimal-format-901.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 265 bytes Diff Download File
decimal-format-902.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 49 bytes Diff Download File
decimal-format-902.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 89 bytes Diff Download File
floatCompEQ.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 712 bytes Diff Download File
floatCompGE.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 733 bytes Diff Download File
floatCompGT.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 712 bytes Diff Download File
floatCompLE.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 733 bytes Diff Download File
floatCompLT.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 712 bytes Diff Download File
floatCompNE.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 733 bytes Diff Download File
INF-1.xq 10944.1.86 11 years ago Paul J. Lucas 1. Floating-point overflow is now reported just th 83 bytes Diff Download File
longinteger.spec 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 50 bytes Diff Download File
longinteger.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 1.3 KB Diff Download File
NaN.xq 10944.1.86 11 years ago Paul J. Lucas 1. Floating-point overflow is now reported just th 42 bytes Diff Download File
operations0.xq 10582.2.75 11 years ago Markos Zaharioudakis merge from trunk 62 bytes Diff Download File
overflow-1.spec 10944.1.86 11 years ago Paul J. Lucas 1. Floating-point overflow is now reported just th 122 bytes Diff Download File
overflow-1.xq 10944.1.86 11 years ago Paul J. Lucas 1. Floating-point overflow is now reported just th 68 bytes Diff Download File
overflow-2.spec 10944.1.86 11 years ago Paul J. Lucas 1. Floating-point overflow is now reported just th 122 bytes Diff Download File
overflow-2.xq 10944.1.86 11 years ago Paul J. Lucas 1. Floating-point overflow is now reported just th 68 bytes Diff Download File
overflow-3.spec 10944.1.86 11 years ago Paul J. Lucas 1. Floating-point overflow is now reported just th 122 bytes Diff Download File
overflow-3.xq 10944.1.86 11 years ago Paul J. Lucas 1. Floating-point overflow is now reported just th 20 bytes Diff Download File
overflow-4.spec 10944.1.86 11 years ago Paul J. Lucas 1. Floating-point overflow is now reported just th 122 bytes Diff Download File
overflow-4.xq 10944.1.86 11 years ago Paul J. Lucas 1. Floating-point overflow is now reported just th 21 bytes Diff Download File
round-half-to-even-INF-1.xq 11364.1.1 11 years ago Paul J. Lucas Clean-up. 42 bytes Diff Download File
round-half-to-even-INF-2.xq 11364.1.1 11 years ago Paul J. Lucas Clean-up. 43 bytes Diff Download File
round-half-to-even-NaN.xq 11364.1.1 11 years ago Paul J. Lucas Clean-up. 42 bytes Diff Download File
round-half-to-even-xs_decimal-01.xq 11364.1.2 11 years ago Paul J. Lucas Test clean-up. 29 bytes Diff Download File
round-half-to-even-xs_decimal-02.xq 11364.1.2 11 years ago Paul J. Lucas Test clean-up. 29 bytes Diff Download File
round-half-to-even-xs_decimal-03.xq 11364.1.2 11 years ago Paul J. Lucas Test clean-up. 29 bytes Diff Download File
round-half-to-even-xs_double-01.xq 11364.1.2 11 years ago Paul J. Lucas Test clean-up. 40 bytes Diff Download File
round-half-to-even-xs_double-02.xq 11364.1.2 11 years ago Paul J. Lucas Test clean-up. 38 bytes Diff Download File
round-half-to-even-xs_double-03.xq 11364.1.2 11 years ago Paul J. Lucas Test clean-up. 38 bytes Diff Download File
xs_float-01.xq 11409.2.40 11 years ago Paul J. Lucas Fixed it. 16 bytes Diff Download File
xs_float-02.xq 11409.2.47 11 years ago Paul J. Lucas Rewrote reduce code; new tests. 16 bytes Diff Download File
xs_float-03.xq 11409.2.53 11 years ago Paul J. Lucas More rounding fixes. 18 bytes Diff Download File
xs_float-04.xq 11409.2.40 11 years ago Paul J. Lucas Fixed it. 16 bytes Diff Download File
xs_float-05.xq 11409.2.53 11 years ago Paul J. Lucas More rounding fixes. 19 bytes Diff Download File
xs_float-06.xq 11409.2.47 11 years ago Paul J. Lucas Rewrote reduce code; new tests. 17 bytes Diff Download File
xs_float-07.xq 11409.2.53 11 years ago Paul J. Lucas More rounding fixes. 19 bytes Diff Download File
xs_float-08.xq 11409.2.40 11 years ago Paul J. Lucas Fixed it. 17 bytes Diff Download File
xs_float-09.xq 11409.2.53 11 years ago Paul J. Lucas More rounding fixes. 20 bytes Diff Download File
xs_float-10.xq 11409.2.53 11 years ago Paul J. Lucas More rounding fixes. 21 bytes Diff Download File
xs_float-11.xq 11409.2.52 11 years ago Paul J. Lucas Fixed casting errors. 22 bytes Diff Download File
xs_float-12.xq 11409.2.53 11 years ago Paul J. Lucas More rounding fixes. 21 bytes Diff Download File