Happy-Algorithms-League / hal-cgp

Cartesian genetic programming (CGP) in pure Python.
GNU General Public License v3.0
28 stars 10 forks source link

Slow process startup time in OSX #349

Closed jakobj closed 2 years ago

jakobj commented 2 years ago

The standard ProcessPoolExecutor seems to cause slow process startup on OSX systems. Besides runtime implications for relatively fast objectives, this causes the test_cache_decorator test to fail.

We should look into alternative methods to start the child processes (https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods) to fix this.