lkml.org 
[lkml]   [1996]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Faster depend written in Perl
From
Date
> I have an old 386/33 and running 'make depend' takes a long time.  I
> heard this was because gawk uses floating point instead of integer
> arithmetic. To speed things up, I translated the depend.awk script
> into Perl using the a2p program. I edited the result to clean up the
> code. The resulting script runs much faster (up to an order of
> magnitude on my machine without a coprocessor) either because of
> integer arithmetic or Perl's faster I/O.

I assume this patch is for machines with no math unit only,
because on a machines with coprocessor, floating point arithmetic
runs faster than integer.

Melvin


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