1.0.14.28: small FGEN improvementsmaster
commit87e066f141899c449821941d52c458e46483a25f
authorNikodemus Siivola <nikodemus@random-state.net>
Thu, 14 Feb 2008 16:43:08 +0000 (14 16:43 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Thu, 14 Feb 2008 16:43:08 +0000 (14 16:43 +0000)
tree9b9d118b945cbbd20e901ea3224a83e8dfce388e
parent4cb16425e2ffce3f70ad6ca10f0cde4f1545fa9d
1.0.14.28: small FGEN improvements

 * Use a DEFSTRUCT instead of a vector for clarity. Also eliminate the
   unused mystery slot.

 * Inline code of GET-NEW-FUN-GENERATOR-INTERNAL in
   GET-NEW-FUN-GENERATOR.

 * Store in a hash-table for O(1) goodness instead of a list.

 * ENSURE-FGEN instead of MAKE-FGEN + STORE-FGEN.

 * When lifting constants out of code in FGEN construction, leave
   constant lists in place: several of the functions we generate FGENs
   for have ETYPECASE forms, which will otherwise cause us to close
   over the :EXPECTED-TYPE and :POSSIBILITIES arguments to ERROR for
   no good reason.
src/pcl/fngen.lisp
version.lisp-expr