This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Speed up bitmap iterators
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Zack Weinberg <zack at codesourcery dot com>
- Date: Sun, 31 Oct 2004 16:45:58 +0000
- Subject: Re: Speed up bitmap iterators
- Organization: Codesourcery LLC
- References: <41850A54.2040302@codesourcery.com> <20041031161315.GA21547@atrey.karlin.mff.cuni.cz>
Zdenek Dvorak wrote:
is there really no way how you could write this in an easier to read
way? These gotos all around, one of them into a loop, really do not
make it simple.
The one into the loop is my least favourite of those. It would
be possible to move that one, at the expense of some codesize and/or
runtime (although i suspect the increase would be negligible). I probably
got slightly carried away tuning the code.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk