To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=100217 Issue #|100217 Summary|Speed up ODF file saving by using an incremental appro |ach Component|framework Version|OOO310m5 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|ENHANCEMENT Priority|P3 Subcomponent|code Assigned to|tm Reported by|wingleader2
------- Additional comments from [email protected] Sun Mar 15 19:26:19 +0000 2009 ------- I looked into the way openoffice saves ODF files. Since the last step is compressing the contents into a zip archive there is room for improvement. What i have observed so far: When working with a document, only the needed files are extracted and saved to the temp directory. The thing is that each time you save, the complete ODF is first extracted to the temp directory and then written to the zip-archive again. Seems like double work. When dealing with large files of several MB containing mostly XML content you will face growing saving times. Such files take minutes to save, even with powerful hardware. If the file contains graphics there is mostly no need to repack them since most of them won't have been changed. Openoffice seems to do more than just compressing the files. Those steps might be saved too for unchanged contents. Since a ZIP archive doesn't have to be repacked from the start when adding or deleting files in it there's no need to extract the whole ODF before saving it. The already contained files are just copied, are not repacked, and only files that must be updated or are to be added will be compressed and written to the archive. You may have observed this time saving behavior when using winrar or similar archiving tools. Hence anything possible when working with ZIP archives of course holds true for ODF files. By only adding files to the ODF that have been changed, lots of time will be saved. If there is a way to save the contents of an XML into several files, even more time could be saved. If possible don't load the whole XML, only load the needed segments. The above also applies to the former format (SXW, SXC..). --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
