From 3c6e4fdfb0a727ff3279feaa94c6c5b9907e7fef Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Thu, 21 Oct 2010 07:58:12 -0600 Subject: [PATCH] babel: mention improved caching changes in Changes.org --- ORGWEBPAGE/Changes.org | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/ORGWEBPAGE/Changes.org b/ORGWEBPAGE/Changes.org index e3eec4789..3ddd8ebc2 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 -- 2.11.4.GIT