lkml.org 
[lkml]   [1996]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Perl make depend made faster
Date
> > 		Perl has the problem that it easily uses lots of memory, and 
> > also that it isn't always there. If people really care, how about
> > optimizing this patch instead?
> >
> Thou art a harsh taskmaster, but teach wisely. I'm not sure I care _that_
> much :)
>
> I think I will just stare at mkdep.c for a couple of days and ponder on
> the ways of the wizards, hoping that I will learn as much more of C as I
> did of Perl while writing depend.pl.

This is fairly unrelated to the actual posting in this thread that I replied
to. This is the only one still in my mailspool, so I keep it.

The AWK version of "make dep" took, on average, a little over an hour here.
Sometimes it would take as long as four or five for reasons I never found.
Linus' mkdep.c did it in about 10 minutes.

The machine? 386/20 with a Cyrix 386->486 (aka "Warmed over 386") chip with
1K cache, and 8MB RAM. No active swapping from GCC.

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.062 / U:2.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site