Mercurial > hg > octave-nkf
diff liboctave/ChangeLog @ 9100:1a8bbfb2f7cf
optimize simple stack operations on arrays
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Tue, 07 Apr 2009 07:16:38 +0200 |
parents | 2da105bf2507 |
children | bb62bc406ea7 |
line wrap: on
line diff
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,11 @@ +2009-04-04 Jaroslav Hajek <highegg@gmail.com> + + * Array.cc (Array<T>::make_unique): Don't economize when unique. + (Array<T>::resize_fill (octave_idx_type, const T&)): Optimize push & + pop operations. + (Array<T>::delete_elements (const idx_vector&)): Do pop operation + using resize. + 2009-03-29 Jaroslav Hajek <highegg@gmail.com> * Array.cc (Array<T>::assign): Remove redundant checks after invalid