Nils Goesche <[EMAIL PROTECTED]> writes: > Edi Weitz <[EMAIL PROTECTED]> writes: > > > Bob Koutsky <[EMAIL PROTECTED]> writes: > > > > > (dice (make-array num :initial-element 0 :element-type 'fixnum)) > > > If you replace all occurences of AREF with SVREF you should see a > > significant performance increase. > > But unfortunately, doing so would be illegal :-) SVREF can only be > used on vectors that are simple and /not/ specialized (general > vectors).
Urgh - it bit me again! From the CLHS: "Not all vectors that are simple are simple vectors---only those that have element type t." How could I forget this? Erik Naggum gave me a piece of his mind in c.l.l during a discussion of a similar topic... :) To my excuse I might add that even KMP conceded that this naming scheme (i.e. "vectors that are simple aren't necessarily simple vectors") is rather confusing. Thanks, Edi.
