Mercurial > hg > octave-lyh
comparison liboctave/Array-s.cc @ 8700:314be237cd5b
sorting optimizations
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 09 Feb 2009 13:05:35 +0100 |
parents | 7cbe01c21986 |
children | e9cb742df9eb |
comparison
equal
deleted
inserted
replaced
8699:6e764b7317bd | 8700:314be237cd5b |
---|---|
27 | 27 |
28 // Instantiate Arrays of short int values. | 28 // Instantiate Arrays of short int values. |
29 | 29 |
30 #include "Array.h" | 30 #include "Array.h" |
31 #include "Array.cc" | 31 #include "Array.cc" |
32 | |
33 #define INLINE_ASCENDING_SORT | |
34 #define INLINE_DESCENDING_SORT | |
32 #include "oct-sort.cc" | 35 #include "oct-sort.cc" |
33 | 36 |
34 INSTANTIATE_ARRAY_SORT (short); | 37 INSTANTIATE_ARRAY_SORT (short); |
35 | 38 |
36 INSTANTIATE_ARRAY_AND_ASSIGN (short, OCTAVE_API); | 39 INSTANTIATE_ARRAY_AND_ASSIGN (short, OCTAVE_API); |