This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Behind the scenes of uniform arrays?



Yeah, there will always be a way for C code to get at the real bytes
of a uniform array.  The SCM_CHARS macro works on uniform vectors, and
SCM_VELTS works for uniform arrays.  I think.  :)

Strings might get more complicated in the future.  There are some nice
tricks you can pull to speed up string-append and substring, and they
tie in with Unicode support.  But I assume you're just worried about
byte arrays...