3 ms·
These only help if you can move the hot loop into some compiled code in those libraries. There's a lot of cases where this isn't possible and at that point ther
by rcxdude 1y ago
These only help if you can move the hot loop into some compiled code in those libraries. There's a lot of cases where this isn't possible and at that point there's just no way to make python fast (basically, as soon as you have a for loop in python that runs over every point in your dataset, you've lost).