3 ms·
Where's the one where the Python programmer has to make something go fast and needs to write a C module?
by alec 17y ago
Where's the one where the Python programmer has to make something go fast and needs to write a C module?
- jerf 17y agoThat would be trickier than it looks. Run this in your python interpreter: reduce(lambda x, y: x * y, range(1, 100)) Replicating that in C is certainly possible but you're probably not going to do it quickly, unless you're already pretty deep into that sort of thing.