|
|
|
|
|
by rasz_pl
3405 days ago
|
|
Using python for micro benchmarks usually doesnt work. The mere fact you use python says you dont care about performance, but convenience. Just for fun add "randomvariable = 1"(you know, 1 one cycle machine op) in a tight loop and watch tenths of a second added to your "benchmark". |
|
Also, while I'll grant you that using Python implies that convenience, programmer time, and/or development speed is a higher priority than performance, that doesn't at all mean that people who use Python "don't care about performance".