On Wed, 29 Dec 2010 17:28:28 -0000 "Jon" <jon@...2711...> wrote:
Am I reaching the limit of Inkscape? Is there some way that I can alter my set-up to a) make extensions fun faster, and b) stop the extensions losing the linked files or crashing Inkscape?
Split things into layers and keep unneeded layers turned off - I'm sure you do that already, but are there additional ways you can leverage that approach?
Maybe do some diagnoses to work out where the slowness is. Inkscape gives the python extension access to a DOM, which the extension manipulates and returns. How is the run time broken up between:
- user clicking go or whatever they do - python code starting to execute (before it starts working on DOM) - python code read DOM - python code doing its stuff - python code returning DOM
Can you get a handle on the memory consumption profile during these different stages?
How do you handle the XML in python? lxml presumably - but maybe SAX would be faster than DOM?
Just some things to consider.