This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Extremely bad performance compiling bzip2
- To: Osku Salerma <osku at iki dot fi>
- Subject: Re: Extremely bad performance compiling bzip2
- From: Ulrich Drepper <drepper at cygnus dot com>
- Date: 08 Dec 1998 13:16:32 -0800
- Cc: egcs at egcs dot cygnus dot com
- References: <Pine.LNX.3.91.981208224035.3436B-100000@oskula>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Osku Salerma <osku@iki.fi> writes:
> BTW, why is it slower? Is glibc 2.1 any faster?
If a program uses putc on a stream which has no problems with multiple
threads it should use putc_unlocked. Similar functions variants exist
for fputc, fputs etc.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------