Mercurial > hg > octave-nkf
diff NEWS @ 10966:07b4cd795742
update NEWS
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 13 Sep 2010 08:41:06 +0200 |
parents | 300636502235 |
children | 41d18f6342f9 |
line wrap: on
line diff
--- a/NEWS +++ b/NEWS @@ -336,6 +336,14 @@ value for empty fields and also to accept file IDs opened by fopen. Likewise, dlmwrite can write to file IDs. + ** Octave can now optimize away the interpreter overhead of an anonymous function + handle, if the function simply calls another function or handle with some of its + parameters bound to certain values. Example: + + f = @(x) sum (x, 1); + + When f is called, the call is forwarded to @sum with the constant 1 appended, and + the anonymous function call does not occur on the call stack. Summary of important user-visible changes for version 3.2: ---------------------------------------------------------