|
|
|
|
|
by ynniv
5619 days ago
|
|
Python makes the same read and write syscalls everyone else does Except, when python's pants are on, it makes gold records. I haven't looked to see if there are any explicit optimizations, but your statement is ridiculous; an effective IO strategy can have an enormous effect on performance. |
|
Reading data from a file handle into a buffer is a trivial operation. It's what you do with that data afterwards that is important. In C (or Go) you have complete control over what happens next. As for Python, I don't know what happens, but I don't see how it could possibly be more efficient than any other sane language.