discuss-gnustep
[Top][All Lists]
Advanced

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

Re: strange NSException code


From: Helge Hess
Subject: Re: strange NSException code
Date: Fri, 2 Dec 2005 15:00:47 +0100

On 2. Dez 2005, at 14:50 Uhr, David Ayers wrote:
It isn't neglible, its a major overhead:
---snip---
helge@move:/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
helge@move:/usr/local/lib$ strip libNGObjWeb_d.so.4.5.216
helge@move:/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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]