2a05f05f44
Passing 3 args with keywords is for example 50% slower than via positional args.
11 lines
118 B
Python
11 lines
118 B
Python
import bench
|
|
|
|
def func(a):
|
|
pass
|
|
|
|
def test(num):
|
|
for i in iter(range(num)):
|
|
func(a=i)
|
|
|
|
bench.run(test)
|