[Pyobjc-dev] Stripping _objc.so
Brought to you by:
ronaldoussoren
From: <bb...@ma...> - 2002-12-22 18:48:30
|
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. Not having the symbols does make debugging more difficult in that gdb will be unable to fully resolve symbols, line numbers, etc... b.bum |