1.0.28.47: depessimize accesses to maybe non-simple arrays with known element types
authorNikodemus Siivola <nikodemus@random-state.net>
Thu, 14 May 2009 10:23:47 +0000 (10:23 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Thu, 14 May 2009 10:23:47 +0000 (10:23 +0000)
commit8f571a2c80ba0de2a69f6a142d149d3838412a28
treef0491ed262824d4f496576e452e7d811b059d357
parentcb2be4b6d03412e2e547a8b051e43d5446792b7c
1.0.28.47: depessimize accesses to maybe non-simple arrays with known element types

  The transforms for HAIRY-DATA-VECTOR-(REF|SET) which inserted a call
  to %DATA-VECTOR-AND-INDEX were never a win unless the array was
  known to be simple: the element type dispatch is quite effcient, and
  the slow path has an open coded WITH-ARRAY-DATA which performs
  better.

  For simple arrays the transforms remain a win, since
  %DATA-VECTOR-AND-INDEX will be open coded: at most one dereference
  is ever necessary.

  Unfortunately declaring the element type of a non-simple array remains
  a loss -- just a less drastic one then before.
NEWS
src/compiler/generic/vm-tran.lisp
version.lisp-expr