Itamar Turner-Trauring on Nostr: Another example of why you want to optimize your code before switching to parallel ...
Another example of why you want to optimize your code before switching to parallel execution: an image processing algorithm where I get a 15× speedup by replacing generic APIs with specialized datastructures that allow reducing repetitive execution.
https://pythonspeed.com/articles/lets-optimize-median-local-threshold/
#python
https://pythonspeed.com/articles/lets-optimize-median-local-threshold/
#python