optimizing my code

Does anyone know which one is faster:

a = int(x)

or...

a = x 1


Comments

  • : 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.

Howdy, Stranger!

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

Categories

In this Discussion