|
|
Subscribe / Log in / New account

Unladen Swallow 2009Q2 released

Unladen Swallow 2009Q2 released

Posted Jul 16, 2009 0:31 UTC (Thu) by sergey (guest, #31763)
In reply to: Unladen Swallow 2009Q2 released by rriggs
Parent article: Unladen Swallow 2009Q2 released

I've just tried the multiprocessing module in Python 2.6 for this and was able to make a single-threaded program scale on multiple CPUs quite nicely. It was a custom database dump code, and it took less then hour to make necessary changes and debug multiprocessig-specific quirks. What's even better was to find out that it works well with py2exe, so I was able to package up the whole thing into a single executable file and give it to my teammates who don't has Python installed. I'm sure multiprocessing won't work for some "interesting" requirements, but it seems to be a very efficient and well-designed general purpose solution.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds