|
|
|
|
|
by cschmidt
4860 days ago
|
|
A nice talk. The punchline for me was: Things that take time
•Hash table lookups
•Allocations
•Copying
Interestingly, that's exactly how you write fast C++ code. His point is that languages like Python lack good API's for preallocating memory. |
|
In higher-level programming languages, it's just a bit harder to control the number of reads and writes because you're working at several layers of abstraction above them, and are concerned with solving higher-level problems. Use the language that provides the appropriate level of abstraction for the problem you're trying to solve.