On Sat, Jan 01, 2011 at 07:28:25PM +0000, Nicholas Clark wrote: > I suspect that a chunk of pp_sys could sensibly go this way (uid and > password functions, semaphores, SysV shared memory, socket ops). However > > a: I'm not sure how much that would shrink pp_sys.o > b: pp_sys.o is only 10% of the perl binary, so there's quite a lot of work > (and added complexity) for at most a 10% gain. Probably more like <5%. I experimented with disabling all the socket functions. $ ll pp_sys.o* -rw-r--r-- 1 nick nick 116712 Jan 2 09:21 pp_sys.o -r--r--r-- 1 nick nick 133464 Dec 28 06:49 pp_sys.o.orig That's not much of a space saving. Also, I infer that every platform Perl builds on has sockets, as 17 test scripts fail without them, and no-one has reported this. Nicholas ClarkThread Previous | Thread Next