gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Slow inventories on large source trees


From: Andrew Suffield
Subject: Re: [Gnu-arch-users] Slow inventories on large source trees
Date: Thu, 22 Apr 2004 05:45:03 +0100
User-agent: Mutt/1.5.5.1+cvs20040105i

On Wed, Apr 21, 2004 at 12:48:55PM -0400, Aaron Bentley wrote:
> According to gprof, it's spending 78% of its time doing regex matching 
> in filename_matches.  The lion's share of that is in mem_set0, but 
> you've got to consider that it's doing 9 hundred thousand calls.

I would be interested to know how memset(..., 0, ...) behaves (#define
mem_set0 to that), since at least in theory, mem_set0 is between 10
and 100 times slower than memset() on an athlon (and around 10 times
on a pentium 3 or 4).

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]