Pat LeSmithe schrieb: > On Sep 3, 9:55 pm, Georg Brandl <[email protected]> wrote: >> This is now fixed, too. It was a complete oversight on my part :| >> Memory usage is now only a slight bit increased compared to 0.5.x. >> >> 0.6.3 is coming! > > Yay! Thanks very much for helping! > > By the way, is possible somehow to take advantage of multiple cores > during the reading phase?
That could be tricky. For that kind of parallel processing, I assume that multiprocessing would be the way to go since parsing reST isn't very I/O bound, and therefore the GIL . However, in the reading phase, all sorts of inventories on the environment object (which would have to be shared) are updated. The writing phase is another matter; there all documents can be written independent of each other. This looks like a good match for a multiprocessing Pool. I've already spoken about this to another user -- I'm afraid I can't remember to whom right now; to all readers: if I'm talking about you, please speak up :) I think the outcome was that he'd try implementing something given the time. cheers, Georg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
