swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zone usage: alloc: vs. allocBlock:


From: Marcus G. Daniels
Subject: Re: Zone usage: alloc: vs. allocBlock:
Date: 21 Jul 1999 07:35:51 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "KC" == Ken Cline <address@hidden> writes:

KC> Are there guidelines for when to use the Zone's `allocBlock:'
KC> method instead of `alloc:'?

Always; alloc: was just there for backward compatibility.

KC> The only difference that I saw mentioned in the documentation was
KC> pertaining to which deallocation method must be used to free the
KC> associated block.  Are the methods equivalent otherwise?

No, alloc: allocates enough extra memory to stash the size, so that
informational counters can be updated on free:.  Unfortunately, it doesn't
allocate enough to ensure that doubles will be aligned properly.

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]