Hi, Uffe. On Sun, 9 Feb 2003, Uffe Jakobsen wrote: >Hi >I'm considering to convert to bincimap from courier-imapd. >One thing that struct me it that your imapd binaries are 8 times bigger than >couriers imapd - and that is the dynamic one. >How come ?
In general, I have seen that C++ code gets much bigger than C code, but I'm not quite sure why. >Knowing that you've done bincimapd in C++ - I don't know if you use C++ >templates - could that be the reason ?? No home made templates, but I use the standard templates like vector, map and multimap. >I've compared the following versions >Bincimapd-dynamic-rh8 1.0.21: >-rwxr-xr-x 1 root root 10289 Feb 8 15:19 >/opt/bincimap/bin/bincimap-auth-checkpassword >-rwxr-xr-x 1 root root 892859 Feb 8 15:19 >/opt/bincimap/bin/bincimapd >-rwxr-xr-x 1 root root 5091 Feb 8 15:19 >/opt/bincimap/bin/bincimap-uidpwd >Bincimapd-dynamic-rh8 1.0.21: >-rwxr-xr-x 1 root root 973855 Feb 8 16:54 >/opt/bincimap/bin/bincimap-auth-checkpassword >-rwxr-xr-x 1 root root 399930 Feb 8 16:54 >/opt/bincimap/bin/bincimap-uidpwd >-rwxr-xr-x 1 root root 2735939 Feb 8 16:54 >/opt/bincimap/bin/bincimapd >Courier-imapd 1.7.0 (compiled with no options - just rpmbuild <tarball>): >-rwxr-xr-x 1 bin bin 52252 Feb 8 23:18 >/usr/lib/courier-imap/bin/couriertls >-rwxr-xr-x 1 bin bin 20188 Feb 8 23:18 >/usr/lib/courier-imap/bin/deliverquota >-rwxr-xr-x 1 bin bin 186236 Feb 8 23:18 >/usr/lib/courier-imap/bin/imapd >-rwxr-xr-x 1 bin bin 22140 Feb 8 23:18 >/usr/lib/courier-imap/bin/maildirmake >-rwxr-xr-x 1 bin bin 28060 Feb 8 23:18 >/usr/lib/courier-imap/bin/pop3d Funny, really, because Courier-IMAP has over 80000 lines of code. Maybe there's something in the build process that isn't quite right with Binc. Andy -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | Nil desperandum

