Optimizing constructors/destructors for embedded systems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

In addition to wasting space, creating unnecessary instances of destructors 
may lead to other problems (especially for embedded systems): some 
destructors call the operator delete(void*). So, the corresponding libraries 
will be linked in the resulting code. Some amount of space could be saved 
avoiding the use of operators new() and delete(). It would be useful to be 
able to disable those destructors somehow.

Regards
Gyorgy Kovesdi

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux