Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Sep 1995 11:53:31 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        pst@shockwave.com, wosch@freebsd.first.gmd.de, current@freebsd.org
Subject:   Re: 20-40% faster wc(1)
Message-ID:  <199509101853.LAA15026@phaeton.artisoft.com>
In-Reply-To: <199509100758.RAA27567@godzilla.zeta.org.au> from "Bruce Evans" at Sep 10, 95 05:58:09 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> >I don't understand... the original isspace() was just a lookup in a table
> >followed by an 'and'.  I assume this changed because of the rune code?
> 
> The rune code has 2 or 3 more tests.
> 
> >The question you should be asking yourself is WHY is isspace(3) slow?
> 
> Because gcc does a poor job of optimizing away the extra tests.

[ ... GCC code generation analysis ... ]

Bruce, you should send this to the GCC people, *really*.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509101853.LAA15026>