faster VECTOR-SUBSEQ*
authorNikodemus Siivola <nikodemus@random-state.net>
Sat, 10 Dec 2011 17:07:53 +0000 (19:07 +0200)
committerNikodemus Siivola <nikodemus@random-state.net>
Sat, 10 Dec 2011 18:25:04 +0000 (20:25 +0200)
commitfb2d28ba0ccab2afb9e68b4de722ba2179bcea8e
tree4d13dcd4b067805601700b7cda36f52cf47aa385
parent40bff32181a4d9b591ae2bac69bbee3bd77a82bc
faster VECTOR-SUBSEQ*

  Use a WITH-ARRAY-DATA to get to the underlying vector, and use a widetag
  dispatch table to pick the correct SUBSEQ implementation for the underlying
  type.

  This is actually just as fast even for simple strings as STRING-SUBSEQ*, so
  throw it out.

  Also make inlining SUBSEQ conditional on SPEED > SPACE now that the
  out-of-line version doesn't suck so much.

  Fixes lp#902537.
NEWS
package-data-list.lisp-expr
src/code/array.lisp
src/code/seq.lisp
src/code/target-package.lisp
src/compiler/seqtran.lisp