4 ms·
>I generally find that 99.9% of them can be solved "well enough" in python Sorry, I didn't mean "by translating to a lower level language". In fact, I especia
by vba616 5y ago
>I generally find that 99.9% of them can be solved "well enough" in python
Sorry, I didn't mean "by translating to a lower level language".
In fact, I especially meant by fixing the script in the existing language.
- tomlockwood 5y agoOh yeah, I do that all the time - sometimes the volume of data gets higher and there are bottlenecks and such, you know? Much refactoring to be done.
- vba616 5y agoAs I've seen on HN, a lot of people hate and do not think in SQL, and avoid it by writing something imperative. Replacing a loop with one query is an example of the sort of thing that I've seen make 3 orders of magnitude difference. Another basic pattern is converting a program or script that loads a whole job into memory into something with fixed size buffers, because specific data made the original explode.