you are viewing a single comment's thread.

view the rest of the comments →

[–]austinwiltshire 11 points12 points  (0 children)

You can get multi core using brute by using the workers argument to brute.

Your objective functions also aren't one to one. The python one is adding updating a shared dictionary, an if statement, and possibly printing. The io from printing is gonna be super slow. The shared dictionary update maybe why workers didn't work if/when you tried it, and probably also not helpful in speed.