Branch: Tag:

1998-04-14

1998-04-14 15:11:58 by Henrik Wallin <hedda@lysator.liu.se>

Transpose rewritten in C.
splice and everynth added.

Rev: lib/modules/Array.pmod:1.19
Rev: src/builtin_functions.c:1.94

6:   constant longest_ordered_sequence = __builtin.longest_ordered_sequence;      constant sort = __builtin.sort; + constant everynth = __builtin.everynth; + constant splice = __builtin.splice; + constant transpose = __builtin.transpose;      mixed map(mixed arr, mixed fun, mixed ... args)   {
221:    return ret;   }    - array transpose(array x) + array transpose_old(array x)   {    if (!sizeof(x)) return x;    array ret=allocate(sizeof(x[0]));