From: Knut F. <Knu...@gm...> - 2008-12-29 14:28:00
|
[ Ooops - hit reply without noticing I was sending only to Erik, not the list. Sorry. ] > > I.e., using array-in-bounds-p in a tight loop on an array of known > > dimensions. Disassembling #'test shows that it contains a dynamic call to > > #'array-in- bounds-p, that I think can and should be optimized away in > > this case. > > I don't see any declarations w.r.t. speed, safety, etc. Does a > declaration for maximum speed (and minimum of the others) not achieve > the same? No. Even with these aggressive settings, there's still the dynamic call to #'array-in-bounds-p; and timings are exactly the same (which is why I left out the declaration). Knut |