Shorten funcallable-instance by 2 words if #!+compact-instance-header
commit26b89e26f0017585998f82eae9c6f59f0d67dd19
authorDouglas Katzman <dougk@google.com>
Tue, 14 Feb 2017 00:56:45 +0000 (13 19:56 -0500)
committerDouglas Katzman <dougk@google.com>
Tue, 14 Feb 2017 01:00:40 +0000 (13 20:00 -0500)
tree44217c95dab912252ce433ea13bd857df0c54587
parentb4282f4dd8e180a4a9e084c76a686509e68ec084
Shorten funcallable-instance by 2 words if #!+compact-instance-header

Same as for non-funcallable instances, put the hash code in the header
word of the slot vector, delete a primitive object slot, and its padding.
This is mainly for consistency, not performance; it would be surprising
if the amount of memory consumed by GF objects mattered to anyone.
However, all other things being equal, shorter is better.
src/code/target-sxhash.lisp
src/pcl/braid.lisp
src/pcl/ctor.lisp
src/pcl/early-low.lisp