You’re only as good as your weakest link adaptability of your strongest skill.
Benchmark Python Codes - benchit
Interesting Indulgences:
6D Permute
, 7D Permute
Kill recursions by tracing
NumPy/Python
10,000x
Speedup!
NumPy tricks
Super tools : np.einsum
, np.searchsorted
, np.lib.stride_tricks.as_strided
np.lib.index_tricks.as_strided
Heavy Broadcasting
based vectorization
Colon notation vs using indices for slicing (looping better)
MATLAB
My Stackoverflow Tag Cloud created with stackoverflow_tag_cloud
: