comparison liboctave/Array-i.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
29 29
30 // Instantiate Arrays of integer values. 30 // Instantiate Arrays of integer values.
31 31
32 #include "Array.h" 32 #include "Array.h"
33 #include "Array.cc" 33 #include "Array.cc"
34
35 #define INLINE_ASCENDING_SORT
36 #define INLINE_DESCENDING_SORT
34 #include "oct-sort.cc" 37 #include "oct-sort.cc"
35 38
36 INSTANTIATE_ARRAY_SORT (int); 39 INSTANTIATE_ARRAY_SORT (int);
37 INSTANTIATE_ARRAY_SORT (long); 40 INSTANTIATE_ARRAY_SORT (long);
38 #if defined (HAVE_LONG_LONG_INT) 41 #if defined (HAVE_LONG_LONG_INT)