Over the last week, I've been optimizing a large-scale numerical program in CMUCL. One of the key lessons is that arrays of double-floats are much faster to work with than arrays whose array-element-type is T. Not too surprising.
Suppose I create a structure foo, whose elements are a fixnum and a double-float. Is there any way in CMUCL to create an array whose array-element-type is foo? If not, why not (just curious about the design concerns)? So far, all my attempts give me a "generic" (simple-array T). If there's no way to do it, this seems to imply that I'm much better off keeping two arrays around, one of fixnums and one of double-floats, rather than an array of foos (or making my structure itself be an array of fixnums and an array of double-floats), which seems somewhat less desirable. Cheers, rif
