changeset 9888:cee6c63cff32

update NEWS
author Jaroslav Hajek <highegg@gmail.com>
date Sun, 29 Nov 2009 22:12:41 +0100
parents e3bd1569a68c
children 81c5ea6ddf81
files ChangeLog NEWS
diffstat 2 files changed, 15 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-29  Jaroslav Hajek  <highegg@gmail.com>
+
+	* NEWS: Update.
+
 2009-11-27  David Bateman  <dbateman@free.fr>
 
 	* configure.ac (HAVE_H5GGET_NUM_OBJS) Remove define.
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,12 @@
     no longer needed to avoid repeated indexing by logical arrays using
     `find' for performance reasons.
 
+ ** Logical matrices are now treated more efficiently when used as indices.
+    Octave will keep the index as a logical mask unless the ratio of true 
+    elements is small enough, using a specialized code. Previously, all logical
+    matrices were always first converted to index vectors. This results in
+    savings in both memory and computing time. 
+
  ** sub2ind and ind2sub were reimplemented as compiled functions for better
     performance. These functions are now faster, can deliver more economized
     results for ranges, and can reuse the index cache mechanism described in
@@ -95,8 +101,11 @@
       logical matrix |= logical matrix
       logical matrix &= logical matrix
 
-   where matrix and scalar belong to the same class. The left-hand side must be
-   a simple variable reference.
+    where matrix and scalar belong to the same class. The left-hand side must be
+    a simple variable reference.
+
+    Moreover, when unary operators occur in expressions, Octave will also try to do
+    the operation in-place if it's argument is a temporary expresssion.
 
  ** The effect of comparison operators (<,>,<=,>=) when applied to complex numbers 
     has changed to be consistent with the strict ordering defined by max, min and sort.