[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Make CVS HEAD version build out of the box
From: |
Dave Korn |
Subject: |
RE: Make CVS HEAD version build out of the box |
Date: |
Wed, 3 Oct 2007 17:26:24 +0100 |
On 03 October 2007 17:01, Yongwei Wu wrote:
>> The only real solution is to avoid alloca() and use malloc() everywhere.
>
> I do not like heap allocation here, which is vastly slower, and will
> really make the Windows fix very, very ugly.
"Slow" is a relative term. Given that this allocation is only necessary
when we're about to go out to the disk to perform a 'stat' operation, I
believe that the (actually fairly small) amount of time it takes the heap
allocater to pull a chunk off a linked-list is likely to be entirely
insignificant compared to the time required by the I/O.
cheers,
DaveK
--
Can't think of a witty .sigline today....
- Re: Make CVS HEAD version build out of the box, (continued)
- Re: Make CVS HEAD version build out of the box, Paul Smith, 2007/10/02
- Re: Make CVS HEAD version build out of the box, Eli Zaretskii, 2007/10/03
- Re: Make CVS HEAD version build out of the box, Yongwei Wu, 2007/10/03
- Re: Make CVS HEAD version build out of the box, Eli Zaretskii, 2007/10/03
- Re: Make CVS HEAD version build out of the box, Earnie Boyd, 2007/10/03
- Re: Make CVS HEAD version build out of the box, Eli Zaretskii, 2007/10/03
- Re: Make CVS HEAD version build out of the box, Paul Smith, 2007/10/03
- Re: Make CVS HEAD version build out of the box, Yongwei Wu, 2007/10/03
- RE: Make CVS HEAD version build out of the box,
Dave Korn <=
- RE: Make CVS HEAD version build out of the box, Paul Smith, 2007/10/03
- Re: Make CVS HEAD version build out of the box, Yongwei Wu, 2007/10/03
- Re: Make CVS HEAD version build out of the box, Yongwei Wu, 2007/10/02
- Re: Make CVS HEAD version build out of the box, Eli Zaretskii, 2007/10/02
- Re: Make CVS HEAD version build out of the box, grischka, 2007/10/03
- Re: Make CVS HEAD version build out of the box, Eli Zaretskii, 2007/10/03
- Re: Make CVS HEAD version build out of the box, Paul Smith, 2007/10/03
- Re: Make CVS HEAD version build out of the box, Yongwei Wu, 2007/10/03
- Re: Make CVS HEAD version build out of the box, grischka, 2007/10/04
- Re: Make CVS HEAD version build out of the box, Eli Zaretskii, 2007/10/04