| |||
|
|
Also, you are cheating a bit. Python is 30% with a while loop(on my machine at least): time python -c $'i = 0\nwhile i<100000000: i+=1\nprint(i)' real 0m4.532s user 0m4.327s sys 0m0.170s And it doesn't crash on the larger number: time python -c $'i = 0\nwhile i<1000000000: i+=1\nprint(i)' real 0m45.012s user 0m42.086s sys 0m1.606s Добавить комментарий: |
|||