4 ms·
For performance, hot paths are the only ones that matter.
by coliveira 2y ago
For performance, hot paths are the only ones that matter.
- IshKebab 2y agoSure, but only a small subset of problems have a hot path. You can easily offload huge tensor operations to C. That's the best possible case. More usually the "hot path" is fairly evenly distributed through your entire codebase. If you offload the hot path to C you'll end up rewriting the whole thing in C.