Mercurial > octave-nkf
comparison src/ChangeLog @ 8679:280fae940bb0
optimize scalar indexing
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 05 Feb 2009 13:58:11 +0100 |
parents | 095ae5e0a831 |
children | 72b1f1eece70 |
comparison
equal
deleted
inserted
replaced
8678:e2b4c19c455c | 8679:280fae940bb0 |
---|---|
1 2009-02-05 Jaroslav Hajek <highegg@gmail.com> | |
2 | |
3 * ov-base-mat.cc ( | |
4 * ov-base-mat.h | |
5 * pt-eval.cc | |
6 * OPERATORS/op-cm-cs.cc: Use scalar_value in scalar-to-matrix | |
7 indexed assignments. | |
8 * OPERATORS/op-fcm-fcs.cc: Ditto. | |
9 * OPERATORS/op-fm-fs.cc: Ditto. | |
10 * OPERATORS/op-m-s.cc: Ditto. | |
11 * OPERATORS/op-int.h (OCTAVE_MS_INT_ASSIGN_OPS): Use homogeneous | |
12 integer scalar-to-matrix assignment. | |
13 (OCTAVE_MM_INT_ASSIGN_OPS): Use homogeneous integer matrix-to-matrix | |
14 assignment. | |
15 | |
16 * Cell.h (Cell::index): Remove direct idx_vector overloads. | |
17 (Cell::assign): Remove direct idx_vector overloads. | |
18 (Cell::delete_elements): Remove direct idx_vector overloads. | |
19 * Cell.cc (Cell::index (const octave_value_list&)): Call | |
20 ArrayN<octave_value>::index. | |
21 | |
22 * oct-map.h (Octave_map::index): Remove direct idx_vector overloads. | |
23 * oct-map.cc (Octave_map::index): Ditto. | |
24 * ov-base-mat.cc (octave_base_mat::do_index_op): Optimize scalar | |
25 indexing case. | |
26 (octave_base_mat::assign (const octave_value_list&, const MT&)): | |
27 Specialize variable argument number. | |
28 (octave_base_mat::assign (const octave_value_list&, const | |
29 typename MT::element_type&)): | |
30 New method overload with optimized scalar indexing case. | |
31 | |
32 * ov-cell.cc (octave_base_matrix<Cell>::do_index_op, | |
33 octave_base_matrix<Cell>::assign, | |
34 octave_base_matrix<Cell>::delete_elements): Specialize. | |
35 (octave_cell::assign (const_octave_value_list, const octave_value&): | |
36 Delete method. | |
37 * ov-cell.h: Reflect change. | |
38 | |
39 * ov-cx-mat.cc (octave_complex_matrix::assign): Delete overloads. | |
40 * ov-cx-mat.h: Reflect changes. | |
41 * ov-flt-cx-mat.cc (octave_float_complex_matrix::assign): Delete overloads. | |
42 * ov-flt-cx-mat.h: Reflect changes. | |
43 * ov-list.cc (octave_list::do_index_op): Simplify. | |
44 * ov-struct.cc (octave_struct::do_index_op): Simplify. | |
45 * pt-eval.cc (tree_evaluator::visit_simple_for_command): Optimize | |
46 traversing a row vector. | |
47 | |
1 2009-02-05 John W. Eaton <jwe@octave.org> | 48 2009-02-05 John W. Eaton <jwe@octave.org> |
2 | 49 |
3 * variables.cc (Vignore_function_time_stamp): | 50 * variables.cc (Vignore_function_time_stamp): |
4 Eliminate unused static variable. | 51 Eliminate unused static variable. |
5 | 52 |