[Gc] Ask for advice on small objects

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Tue Mar 11 11:32:27 PST 2008


On Tue, Mar 11, 2008 at 6:46 PM, Henning Makholm <Henning at octoshape.com> wrote:
>  If you know you're never using the one-past-last-element feature, you can
>  turn it off by building the collector with DONT_ADD_BYTE_AT_END or setting
>  GC_all_interior_pointers to 0.

Hi Henning, thanks a lot for the explanation. This was exactly what I
was looking for. Together with GC_register_displacement(1), it works
perfectly, halving the memory requirements of ECL.
Cheers,

Juanjo

-- 
Facultad de Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com


More information about the Gc mailing list