Summary: | File size suddenly gets huge | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Sean Clarke <sean.clarke> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Sean Clarke
2004-01-14 12:06:32 UTC
More info... It appears that ~90% of the size is in the codegeneration element. Inspection reveals that this has two sub elements (codegenerator) that represents the CPP and Java. the sub elements are extremely large. I thought there was an entry for the option of turning off code generation but I can't find it just now. Once the active language has changed it should probably offer to delete all the code from the previous active language as that takes up a lot of disk space and memory. Yes, the XMI representation of the code generation sucks. Its far too wordy than it need be. The implementation is "programmer efficient" rather than "application efficient". I can think of 2 possible things to help reduce the code generation verbiage: One possible solution here is to replace some of the XMI code generations elements which are repetative with ID/IDREF mechanism. An example of a repeated element would be "codeaccessor" which occurs both under the "codeclassfield" and "textblock" elements, but is fundementally no different. Another angle to cutting down the size here is to NOT print out unmodified codeblocks. At the very least, unmodifed codeblocks can be more concisely represented than they currently are. So it is a wish to have an option to turn off code generation or to remove the generated code. I think the problem isn't that important anymore, because we now have compressed xmi file support. |