[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reading uninitialized memory
From: |
Torbjorn Granlund |
Subject: |
Re: Reading uninitialized memory |
Date: |
26 Jan 2002 22:49:54 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Andrew Vaught <address@hidden> writes:
No, I'm just saying move the read. The original code looks like:
No, the read should stay where it is. We are not going to
make GMP slower just to shut up a memory checker tool.
Right, and that's why I'm not saying that the conditional should be
rewritten. The least common case should be last.
I don't understand what you're suggesting here.
In general, an `else' clause of an if-then-else statement is odten
executed somewhat faster than the `then' clause. This is because it
typically just needs one branch.
--
Torbjörn
- Reading uninitialized memory, Andrew Vaught, 2002/01/25
- Re: Reading uninitialized memory, Torbjorn Granlund, 2002/01/25
- Re: Reading uninitialized memory, Andrew Vaught, 2002/01/25
- Re: Reading uninitialized memory, Torbjorn Granlund, 2002/01/25
- Re: Reading uninitialized memory, Kevin Ryde, 2002/01/25
- Re: Reading uninitialized memory, Andrew Vaught, 2002/01/26
- Re: Reading uninitialized memory, Kevin Ryde, 2002/01/26
- Re: Reading uninitialized memory, Andrew Vaught, 2002/01/26
- Re: Reading uninitialized memory,
Torbjorn Granlund <=
- Re: Reading uninitialized memory, Kevin Ryde, 2002/01/26
- Re: Reading uninitialized memory, Andrew Vaught, 2002/01/26
- Re: Reading uninitialized memory, Torbjorn Granlund, 2002/01/26
- Re: Reading uninitialized memory, Andrew Vaught, 2002/01/26