4 ms·
Or, you know, use numpy.
by BiteCode_dev 1y ago
Or, you know, use numpy.
- shash 1y agoYeah, that’s much more efficient. But there’s something beautiful in the way that a Taylor expansion or a trigonometric identity emerge from the function definition. Also, it teaches an interesting concept in lazy evaluation. I mean, why not write straight up assembler? That would be even more efficient…