3 ms·
That's actually kind of shocking. I thought it would take way more work to port from Python to Go, and a 400% speedup is way less than I'd have expected (though
by wisty 13y ago
That's actually kind of shocking. I thought it would take way more work to port from Python to Go, and a 400% speedup is way less than I'd have expected (though this is string handling, and the Python was already brutally optimised with C modules where it counted).
- jtolds 13y agoWe're I/O bound now (as we should have been to begin with), so speedup isn't the linear function you might expect here.