Unpopular (?) Opinion: Matrices are a great data structure. But, using linear algebra ops for the vectorization speedup alone is often an obfuscating optimization. A well-commented loop over the clearly-named elements is often better. (Plus, ya know -- numba).
Depends on the size (and if you have a reasonable numba expectation). That annotation amortizes it into oblivion, often.
-
-
Then again: this whole thing was a hot take, so... ¯\_(ツ)_/¯
-
It's a nice hot take.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.