My numpy rewrite was 300x faster in isolation. End-to-end it was slower.
6d ago · 6 min read · my CLI search took 4.3 seconds for 5000 files. i swapped the python cosine loop for a numpy matmul. it got slower. short-lived python CLIs punish optimizing the wrong layer. this is what happened ship
Join discussion


