Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 1681
Number of posts: 4770

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
optimizing my code Posted by Puzzler on 13 Jun 2001 at 12:50 PM
Does anyone know which one is faster:

a = int(x)

or...

a = x \ 1


Report
Re: optimizing my code Posted by Hadji_13 on 13 Jun 2001 at 3:01 PM
: Does anyone know which one is faster:
:
: a = int(x)
:
: or...
:
: a = x \ 1
:
:
a = int(x)

(as far as I can tell)





 

Recent Jobs