Branch: Tag:

2000-04-19

2000-04-19 20:37:51 by David Hedbor <david@hedbor.org>

Array.uniq now implemented in c

Rev: lib/modules/Array.pmod:1.41
Rev: src/builtin_functions.c:1.265

10:   constant everynth = __builtin.everynth;   constant splice = __builtin.splice;   constant transpose = __builtin.transpose; -  + constant uniq = __builtin.uniq_array;   #if 1   constant filter=predef::filter;   constant map=predef::map;
255:    return foo;   }    - array uniq(array a) - { -  return indices(mkmapping(a,a)); - } -  +    array columns(array x, array ind)   {    array ret=allocate(sizeof(ind));