|
|
|
|
|
by cygnus_a
3856 days ago
|
|
Actually, even the subsection headings in bold give a very succinct summary: - Python has easy development (https://xkcd.com/353/) - Great libraries (ie, free matlab) - Cython for efficiency via C - The algorithms themselves determine speediness (ie numerical methods) |
|
This is so important I wish people would focus more on it. I recently rewrote some Javascript code in (pure) python and got a good 2 orders of magnitude speed up on large inputs just by picking the right data structures and replacing an O(n^3) nested loop with an O(n log n) approach.