( turul16 | 2022. 04. 27., sze – 11:32 )

is leggyakoribb hasznalata:

In [3]: timeit a is None
19.9 ns ± 0.238 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)

In [4]: timeit a == None
23.2 ns ± 0.0979 ns per loop (mean ± std. dev. of 7 runs, 10000000 loops each)

Ami az ujra tervezest illeti:
https://en.wikipedia.org/wiki/Cython
"which gives a 95 times improvement over the pure-python version. More details on the subject in the official quickstart page."

go rust