pystruct/pystruct — pull request #129 by robbymeals (2014-12-31 20:09:24+00:00)
Title: use MemmapingPool instead of joblib.Parallel

Hi! So using Parallel causes the respawning of pools with every iteration, which can be slow from the start, causes memory issues and is very slow once the matrices get to be at all large. @amueller what do you think of this approach? I am sure there are other moving parts that I'm not aware of that need to be considered, but replacing the Parallel calls as in this PR in both OneSlackSSVM and SubgradientSSVM worked really well for me.