#threading

[ follow ]
fromdeath and gravity
7 hours ago

Inheritance over composition, sometimes

The organization of the code using subclasses and layers of delegation can complicate debugging, leading to the suggestion of simplifying the implementation by using functions instead.
fromdeath and gravity
2 months ago

ProcessThreadPoolExecutor: when I/O becomes CPU-bound

After increasing the number of threads in a ThreadPoolExecutor, you might hit a limit where CPU utilization maxes out but speed does not improve.
Productivity
[ Load more ]