jed-users mailing list

[2003 Date Index] [2003 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Some questions


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]