News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

large wxSmith.chm file from our SF site

Started by ollydbg, February 15, 2016, 01:56:28 PM

Previous topic - Next topic

ollydbg

wxSmith.chm, this file is 264M. Any one can explain the reason? why a CHM file is so large?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

MortenMacFly

Quote from: ollydbg on February 15, 2016, 01:56:28 PM
wxSmith.chm, this file is 264M. Any one can explain the reason? why a CHM file is so large?
Many images. For each variable, identifier, etc... Doxygen creates a new image and does not re-use existing ones.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

MortenMacFly

...just a side note: CHM files are actually archives. You can extract the content using e.g. 7-Zip. Then you'll see that most of the size (~270 MB) are due to images for (dependency) graphs and alike. Switching off dependency graphs might reduce the size a lot. On the other hand, I find them useful...?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]