Performance Optimization
concepts · 4 notes linked
Related: Donald Knuth · Premature Optimization · Algorithm Design · Python · Python Internals · Numba · Cython · Numpy
Notes
- Bit Twiddling Hacks — Reference collection of low-level C bit manipulation tricks
- Python Patterns - An Optimization Anecdote — Iterative Python optimization from naive loop to 12x speedup
- Pythonic Perambulations — Benchmark comparison of Numba JIT versus Cython for Python numerical code
- Revisiting Knuth's "Premature Optimization" Paper — Contextual reanalysis of Knuth premature optimization quote and its misuse