Re: More on Lisp structures performance

Martin Simmons <[email protected]>
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
>>>>> On Sat, 24 Jan 2026 20:51:56 +0100, Yuri Davidovsky (as work at disclosure dot ie) said:
> 
> Yes, you can do it for objects stored on the heap that are all 16 bytes in size, since you need 4 bits to do increments of 16. But what size are the doubles stored on the heap? Say if you have a struct field the contains a boxed double and you need to retrieve it. 

You just make all objects use a multiple of 16 bytes of memory and waste a
word for those that are actually 8 bytes smaller.

__Martin

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.