Re: [Pyobjc-dev] Stripping _objc.so
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2002-12-22 19:05:06
|
On Sunday, Dec 22, 2002, at 19:48 Europe/Amsterdam, bb...@ma... wrote: > On Sunday, Dec 22, 2002, at 13:07 US/Eastern, Just van Rossum wrote: > Ronald Oussoren wrote: >> >>> - setup.py: By default strip the .so files, this seriously reduces >>> the size of module objc._objc. >> >> Is this such a good idea? Btw. bundlebuilder/buildapp.py has a --strip >> option to strip all binaries when building standalone apps (indeed >> helps a lot, size-wise), but I wouldn't do this do this for a library >> install. Does it have any performance advantage to strip objc._objc? > > For the installer package-- for the version that goes in > site-packages-- I don't think stripping makes a huge difference. It > will not significantly impact load times as the whole file is memory > mapped and the symbol table is basically just a big blob near the end. > Nor will it affect runtime performance unless your system is > incredibly tight on RAM. > > The project builder copy files phases could be augmented to do the > strip, as well. I forgot about stripping while building a '.app' bundle. I'll roll back this change. Ronald |