Author Topic: large wxSmith.chm file from our SF site  (Read 2610 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
large wxSmith.chm file from our SF site
« 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?
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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: large wxSmith.chm file from our SF site
« Reply #1 on: February 17, 2016, 02:02:09 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: large wxSmith.chm file from our SF site
« Reply #2 on: February 18, 2016, 11:48:09 am »
...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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ