dave-howard / vsdx

vsdx - A python library for processing .vsdx files
BSD 3-Clause "New" or "Revised" License
67 stars 25 forks source link

fixed performance problems when loading big, complicated vsdx files #68

Open godfryd opened 8 months ago

godfryd commented 8 months ago

This is quite naive fix for performance issues. It caches some instances so they are not repeatedly parsed. It works for cases when a file is only loaded and read. Probably it does not work well when the file is modified via this lib - I didn't try that. Any tips how to improve that appreciated.

godfryd commented 8 months ago

This addresses #67 issue.

dave-howard commented 7 months ago

Hi @godfryd - we need to ensure that the package allows vsdx files to be edited, but I like the concept of caching the shapes to avoid repeated parsing. I am sure there is a way to extend this to support both caching and editing.

dave-howard commented 7 months ago

I have just added some additiional tests to master branch that will fail if the updated shapes are cached