Syntactic Confectionery Delight | |
PerlMonks |
Re: Re: Re: Re: Re: C vs perlby samtregar (Abbot) |
on Apr 29, 2002 at 03:22 UTC ( [id://162759]=note: print w/replies, xml ) | Need Help?? |
That sure sounds good, but I'm not sure I'd be thrilled with the results of passing this routine 3MB of text and having it malloc() 10MB. The efficacy of malloc()ing far more than you need then hoping that realloc() is cool enough to make it not matter is questionable.
-sam
In Section
Seekers of Perl Wisdom
|
|