>>>>> "Fred" == Fred Gilham <[EMAIL PROTECTED]> writes:

[snip]

    Fred> I also noticed that using (unsigned-byte 16) instead of
    Fred> (unsigned-byte 32) reduces the run time still further, to a bit more
    Fred> than 2 seconds.

I wonder why?  But definitely shouldn't go below (unsigned-byte 8) if
speed is important since these are packed into words.

    Fred> The main point is that CMUCL only optimizes specialized arrays of the
    Fred> following types:

    Fred>      bit
    Fred>      (unsigned-byte 2)
    Fred>      (unsigned-byte 4)
    Fred>      (unsigned-byte 8)
    Fred>      (unsigned-byte 16)
    Fred>      (unsigned-byte 32)
    Fred>      base-character
    Fred>      single-float
    Fred>      double-float


    Fred> (at least according to the version of the user manual I have).  FIXNUM
    Fred> is not one of these types --- I suppose that's because it's not a
    Fred> native-hardware word size.

Your manual is out-of-date (or the manual itself is).  The following
types are also good array types:

        (signed-byte 8)
        (signed-byte 16)
        (signed-byte 30)        ; aka fixnum
        (signed-byte 32)
        (complex single-float)
        (complex double-float)

Ray

Reply via email to