3 ms·
If we load entire data into memory the difference is negligible.
by known 11y ago
If we load entire data into memory the difference is negligible.
- mikeash 11y agoThis is actually likely to be the scenario in which the differences are most visible. If your data fits in memory then you're more likely to be compute-bound, at which point C or C++ will completely flatten Python. If your data is too big to fit into memory, then you're likely to be I/O bound, at which point the cost of I/O operations is likely to erase performance differences between the languages.