3 ms·
If I know my input shape in advance and write the correct algorithm for it, I don't want any runtime checking of the input and the associated costs for branchin
by adrianN 2y ago
If I know my input shape in advance and write the correct algorithm for it, I don't want any runtime checking of the input and the associated costs for branching and code size inflation.
- londons_explore 2y agoPresumably you could tell the compiler of those constraints eg. via assert(n<100000)