On 2. Dez 2005, at 14:50 Uhr, David Ayers wrote:
It isn't neglible, its a major overhead:
---snip---
[EMAIL PROTECTED]:/usr/local/lib$ ls -hla libNGObjWeb_d.so.4.5.216
-rwxr-xr-x  1 helge dev 5.9M Nov 29 21:22 libNGObjWeb_d.so.4.5.216
[EMAIL PROTECTED]:/usr/local/lib$ strip libNGObjWeb_d.so.4.5.216
[EMAIL PROTECTED]:/usr/local/lib$ ls -hla libNGObjWeb_d.so.4.5.216
-rwxr-xr-x  1 helge dev 2.2M Dec  2 13:09 libNGObjWeb_d.so.4.5.216
---snap--
Remember that this is not only on-disk, but also loaded into RAM
(though only once for shared libraries like gstep-base).
Are you sure about this? For which platform? OS X?
AFAIK this is not loaded into memory until accessed with even moderately recent platforms.

I'm not perfectly sure about this (my assumption is/was that this is true for Linux and OSX). Hm, can you directly memory map a shared library for execution? Of course this would be rather cool. Do you have pointers for the "AFAIK"? ;-)

Maybe one should really do a testrun with a large library and a small tool to check the differences between debug and no-debug. Maybe I find the time later this day to do this.

Greets,
  Helge
--
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to