optimizing my code - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

optimizing my code

PuzzlerPuzzler Posts: 208Member
Does anyone know which one is faster:

a = int(x)

or...

a = x 1


Comments

  • Hadji_13Hadji_13 Posts: 274Member
    : Does anyone know which one is faster:
    :
    : a = int(x)
    :
    : or...
    :
    : a = x 1
    :
    :
    a = int(x)

    (as far as I can tell)


Sign In or Register to comment.