1.0.9.57: allow pv-optimizations for typechecking (SETF SLOT-VALUE)
commit781a775a71a1051bb2a4836575ec233486d9088e
authorNikodemus Siivola <nikodemus@random-state.net>
Mon, 10 Sep 2007 21:42:20 +0000 (10 21:42 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Mon, 10 Sep 2007 21:42:20 +0000 (10 21:42 +0000)
treec25236f52bbbc9dfda6f98e9e955dff29915f419
parentdfbfbd3f2499852904129738e13a70c9780f37a7
1.0.9.57: allow pv-optimizations for typechecking (SETF SLOT-VALUE)

* For each optimized access, store both the slot location and the
  typecheck function in the permutation vector. If the write is in
  safe code, use the typecheck function to validate the new value
  before using it.

* Approximately ~5x as fast as SAFE-SET-SLOT-VALUE -- which is still
  needed in a few places as ACCESSOR-SET-SLOT-VALUE doesn't do type
  checking.
NEWS
src/pcl/vector.lisp
version.lisp-expr