Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug (?) in 3.0-pre1
- X-seq: zsh-workers 1488
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: schaefer@xxxxxxx
- Subject: Re: bug (?) in 3.0-pre1
- Date: Sun, 30 Jun 1996 18:13:13 +0200 (MET DST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <960629121357.ZM5651@xxxxxxxxxxxxxxxxxxxxxxx> from Bart Schaefer at "Jun 29, 96 12:13:55 pm"
> Seems like almost any of the MUSTUSEHEAP() functions should adjust and
> then restore the allocation strategy internally, rather than relying on
> every caller to do so ...
But usually it is a bug if the caller use permanent allocation. In most
places zsh uses heap allocation. It is an exception when a function uses
permanent allocation and in that case it must always be very careful. I
know that you do not like this heap very much but I still think that it
simplifies the code and makes memory management faster.
Zoltan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author