[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tags in the 3 lowest bits
From: |
Stefan Monnier |
Subject: |
Re: tags in the 3 lowest bits |
Date: |
20 Nov 2003 09:52:19 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
> We could wrap malloc and free on such systems to force 8 byte alignment like
> this (it's a little costly in memory, but no big deal):
The cost is zero for cons cells and floats (which are already wrapped to
ensure alignment, for other reasons), it's negligible for strings, markers,
and symbols, but it's a bit heavy for small arrays.
OTOH, small arrays are already inefficient (because each array, no matter
how small, is added to the memory-map (a binary tree) used for conservative
stack marking). So maybe we should begin by changing the handling of small
arrays (similar to what is done for strings, although I'm not quite sure
what it would look like).
Stefan
- tags in the 3 lowest bits, Stefan Monnier, 2003/11/19
- Re: tags in the 3 lowest bits, Kim F. Storm, 2003/11/19
- Re: tags in the 3 lowest bits,
Stefan Monnier <=
- Re: tags in the 3 lowest bits, Stefan Monnier, 2003/11/21
- Re: tags in the 3 lowest bits, Kim F. Storm, 2003/11/21
- Re: tags in the 3 lowest bits, David Kastrup, 2003/11/21
- Re: tags in the 3 lowest bits, Kim F. Storm, 2003/11/21
- Re: tags in the 3 lowest bits, Stefan Monnier, 2003/11/23