|
|
|
|
|
by yedava
577 days ago
|
|
The article times bubble sort, which is just nested loops. And python is dead slow. Granted nobody uses bubble sort, but loops show up in all kinds of places in programming. With python, you always have to make a decision on whether to use python loops or let something like numpy or torch or pandas do the loop. |
|