- Subject: Re: Some questions
- From: Joerg Sommer <joerg@xxxxxxxxxxxx>
- Date: Sat, 21 Jun 2003 16:09:15 +0000 (UTC)
begin Günter Milde <milde@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Sat, Jun 14, 2003 at 08:10:13PM +0000, Joerg Sommer wrote:
>>
>> is !if (foo) faster then if (foo != 0) or why exists this version of
>> negation?
>
> Yes, with foo != 0, 2 items need to be pushed on the stack (i.e. it is the
> same as i += 3 vs. i = i+3).
No, there isn't a great difference.
jed -> 5.02, 5.22 = 96%
slsh -> 1.41, 1.53 = 92%
so += needs only 90% of time against =+
Joerg.
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2003 date index]
[2003 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]