What is Nostr?
Nic Duquette :python: /
npub1pmy…s2eh
2024-03-06 03:05:34

Nic Duquette :python: on Nostr: Wow. I think vectorizing my janky loops reduced computing time by an order of ...

Wow. I think vectorizing my janky loops reduced computing time by an order of magnitude... but moving my vectorized code from numpy to scipy's sparse matrix operations cut things down by **TWO** orders of magnitude. Stuff is happening within acceptable time spans now.

(Obviously this pro tip only works if your matrices are sparse)
Author Public Key
npub1pmy55cmltu3j48k44es289l7pgaxyrwdsmgjue3yl0c96jtscs7slzs2eh