|
From: Wu Y. <ad...@ne...> - 2003-12-08 03:32:17
|
I just cannot understand why you think 47% code size difference is "huge". Different compilers will certainly give different results based on its code generation method, optimization used, and library implentation. I'll give you a feel using the C++ HelloWorld (using std::iostream): MSVC 6: 65536 MSVC 6 dynamic linkage: 16384 MSVC 6 dynamic linkage with "/link /opt:nowin98": 3584 MSVC 6 w/ STLport 4.5: 212992 MSVC 6 w/ STLport 4.5 dynamic: 16384 Borland C++ Compiler 5.5.1: 113152 DigitalMars Compiler 8.37 w/ STLport 4.5.3: 361500 GCC 2.95.3-8: 75776 GCC 2.95.3-8 w/ STLport 4.5.3: 338432 GCC 2.95.3-8 w/ STLport 4.5.3 dynamic: 29696 GCC 3.3.1: 217600 If you call 147% a "huge" value, how will you call 10095% (361500/3584)? :-) Best regards. Wu Yongwei --- Original Message from Don Ho --- Is there a remedy for that? 160 KB (497 KB vs 340 KB) is really huge! Don HO Je bouffe donc je suis |