comparison liboctave/ChangeLog @ 8384:a99b9113c58c

optimize sparse bool indexing
author Jaroslav Hajek <highegg@gmail.com>
date Mon, 08 Dec 2008 15:33:28 +0100
parents dbe67764e628
children 6e9660cd3bf2
comparison
equal deleted inserted replaced
8383:a762d9daa700 8384:a99b9113c58c
1 2008-12-08 Jaroslav Hajek <highegg@gmail.com>
2
3 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const
4 Sparse<bool>&)): New constructor.
5 * idx_vector.h: Declare it.
6 (idx_vector::idx_vector (const Sparse<bool>&)): New constructor.
7 * idx-vector.cc (idx_vector::idx_vector_rep::idx_vector_rep (const
8 Array<bool>&)): Fix extent calculation.
9
1 2008-12-07 Jaroslav Hajek <highegg@gmail.com> 10 2008-12-07 Jaroslav Hajek <highegg@gmail.com>
2 11
3 * mx-inlines.cc (mx_inline_fill_vs): New template function. 12 * mx-inlines.cc (mx_inline_fill_vs): New template function.
4 * mx-op-defs.h (everywhere): Replace int by octave_idx_type. 13 * mx-op-defs.h (everywhere): Replace int by octave_idx_type.
5 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs. 14 (MDM_MULTIPLY_OP): Use mx_inline_mul_vs and mx_inline_fill_vs.