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: Ken Cline
Subject: Re: Zone usage: alloc: vs. allocBlock:
Date: Wed, 21 Jul 1999 13:49:34 -0400 (EDT)

On Wed, 21 Jul 1999, Marcus G. Daniels wrote:

> >>>>> "KC" == Ken Cline <address@hidden> writes:
> 
> KC> Oh, I didn't realize that `alloc:' was deprecated. 
> 
> Let me restate this in a different way.  A new pair of methods,
> allocBlock:/freeBlock: were introduced in order to provide info for Zone
> counters.  alloc: provides this information too (by storing it), but 
> it wasn't properly aligning the returned memory.  I've fixed this.

Oh, again!  Thanks for clarifying that.

> So alloc:/free: wastes a little memory but has a more convenient interface.

Yes, especially for managing strings (and other arrays).


_________________________________________________________
Ken Cline                             address@hidden
SAIC                                 VOICE (410) 571-0413
Annapolis, MD                          FAX (301) 261-8427




                  ==================================
   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]