clasp icon indicating copy to clipboard operation
clasp copied to clipboard

Dump more than just simple-vector to fasls

Open drmeister opened this issue 9 years ago • 2 comments

While the CLHS 3.2.4.4 says that when arrays are written to fasls they may loose all of their qualities, some implementations (sbcl) restore fill-pointer, adjustability, and displacement.

Maybe clasp should do this as well. It will require more code in the cmpliteral.lsp compiler and more ltvc functions to create non-simple arrays and vectors.

drmeister avatar Jan 09 '17 18:01 drmeister

I would be interested to know who would want this and why.

Bike avatar Jun 20 '17 14:06 Bike

Having semantics preserved over FASL dump is always nice, just for the fact that preserving it is the less surprising behaviour.

Shinmera avatar Jun 20 '17 14:06 Shinmera