#41 new array types

open
Bruno Haible
None
5
2010-01-08
2010-01-08
Sam Steingold
No

clisp supports 6 types of unsigned bit arrays (1,2,4,8,16,32 bits) and 3 others: generic (T), string (CHARACTER) and void (NIL).
we have space for 7 more types: signed 2,4,8,16,32 bits arrays, single and double floats.
float arrays are necessary for efficient interaction with scientific computing packages.
signed bit arrays are are needed for efficient i/o with signed bit files (this is a lame argument, however, it does look weird that we can have signed bit i/o but no corresponding arrays).

Discussion

  • Sam Steingold
    Sam Steingold
    2010-11-03

    float vector patch (works with HEAPCODES, but not TYPECODES)