Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8083

Re: basic bytecode to machine code compiler (part 3)

From Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com>
Newsgroups comp.lang.python
Subject Re: basic bytecode to machine code compiler (part 3)
Followup-To comp.lang.python
Date 2011-06-21 12:55 +0200
Message-ID <ol96d8-hhd.ln1@satorlaser.homedns.org> (permalink)
References <1_QLp.10563$xh5.2244@newsfe02.iad>

Followups directed to: comp.lang.python

Show all headers | View raw


Rouslan Korneychuk wrote:
> if i != pindex:
>     (less if x <= pivot else greater).append(x)

Just curious, is there a reason why you wrote this last line that way 
instead of using a "normal" if/else clause?


Cheers!

Uli


-- 
Domino Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

basic bytecode to machine code compiler (part 3) Rouslan Korneychuk <rouslank@msn.com> - 2011-06-20 19:47 -0400
  Re: basic bytecode to machine code compiler (part 3) Ulrich Eckhardt <ulrich.eckhardt@dominolaser.com> - 2011-06-21 12:55 +0200
    Re: basic bytecode to machine code compiler (part 3) Rouslan Korneychuk <rouslank@msn.com> - 2011-06-21 16:06 -0400

csiph-web