[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: konqy problem "fixed"..
From: Waldo Bastian <bastian () kde ! org>
Date: 2000-07-24 19:22:14
[Download RAW message or body]
On Mon, 24 Jul 2000, Alex Zepeda wrote:
> On Mon, 24 Jul 2000, Waldo Bastian wrote:
> > EF_FILL
> > When set to a value between 0 and 255, every byte
> > of allocated memory is initialized to that value.
> > This can help detect reads of uninitialized memory.
> > When set to -1, some memory is filled with zeroes
> > (the operating system default on most systems) and
> > some memory will retain the values written to it
> > during its last use.
>
> I seriously doubt that most mallocs will initialize the memory for you.
> That would be quite a performance hit.
I think it treis to say that normally malloc either reuses freed memory or
uses new memory from /dev/zero. Which is zeroed by the OS.
Cheers,
Waldo
--
Make way, KDE/Linux is coming to a desktop near you!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic