Better HN
topnewbestaskshowjobs
Log inSign up

trament

2 karma · joined Jul 6, 2022 (4y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

Now that you have decent data structures, why don't you use a library for arithmetic calculations on vectors? I would use MKL for this, at least if you're running on Intel machines, the vdMul function for your particular example. Even on AMD machines the MKL implementation will probably be faster than hand-written code.