diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2010-10-21 07:58:12 -0600 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2010-10-21 07:58:12 -0600 |
commit | 3c6e4fdfb0a727ff3279feaa94c6c5b9907e7fef (patch) | |
tree | b85cc03c09502000ba6e1044961725a3093746e2 | |
parent | 6599e17654d6f4a6109a2ce0621501ff92a8f719 (diff) | |
download | org-mode-3c6e4fdfb0a727ff3279feaa94c6c5b9907e7fef.tar.gz |
babel: mention improved caching changes in Changes.org
-rw-r--r-- | ORGWEBPAGE/Changes.org | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ORGWEBPAGE/Changes.org b/ORGWEBPAGE/Changes.org index e3eec47..3ddd8eb 100644 --- a/ORGWEBPAGE/Changes.org +++ b/ORGWEBPAGE/Changes.org @@ -48,6 +48,29 @@ code base (especially the language-specific files), and ensures that the arguments to a code block will not be evaluated multiple times. This change should not be externally visible to the Org-mode user. +*** Improved Caching +Code block caches now notice if the value of a variable argument +to the code block has changed, if this is the case the cache is +invalidated and the code block is re-run. The following example +can provide intuition for the new behavior. +#+begin_src org :exports code + ,#+srcname: random + ,#+begin_src R :cache yes + ,runif(1) + ,#+end_src + + ,#+results[a2a72cd647ad44515fab62e144796432793d68e1]: random + ,: 0.4659510825295 + + ,#+srcname: caller + ,#+begin_src emacs-lisp :var x=random :cache yes + ,x + ,#+end_src + + ,#+results[bec9c8724e397d5df3b696502df3ed7892fc4f5f]: caller + ,: 0.254227238707244 +#+end_src + * Version 7.01 :PROPERTIES: :VISIBILITY: content |