|
|
|
|
|
by yjftsjthsd-h
1181 days ago
|
|
> The library was already using numpy for a lot of its calculations, so why should we expect Rust to be better? I literally clicked in to read the article to see if they'd mention this:) But... unless I missed it, there wasn't really an answer? I thought numpy does do the heavy lifting in native code, so why is this faster? Does this version just push more of the logic into native code than numpy did? |
|
Just that small change already gives 10x faster performance without ever leaving python/numpy land.