Array length & allocation question

Bruno Medeiros brunodomedeirosATgmail at SPAM.com
Mon Jun 12 12:27:44 PDT 2006


Derek Parnell wrote:
> On Mon, 12 Jun 2006 09:11:04 +1000, Bruno Medeiros 
> <brunodomedeirosATgmail at SPAM.com> wrote:
> 
>> Hum, and happens when one shortens the length of the array? The Memory 
>> Manager "back" buffer size remains the same?
> 
> Yes. However there is a bug (oops - an issue) in which if the length is 
> set to zero the RAM is released back to the the system.
> 
> --Derek Parnell
> Melbourne, Australia

That makes perfect sense, why would it be a bug?

-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d-learn mailing list