Re: [PHP4BETA] cvs: php4 / INSTALL
[email protected] (Zeev Suraski)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
At 21:50 23/05/2000 , Andi Gutmans wrote: >At 10:47 PM 5/23/00 +0200, Zeev Suraski wrote: >>At 20:53 23/05/2000 , Sascha Schumann wrote: >>>On Tue, 23 May 2000, Andi Gutmans wrote: >>>Remember that while PIC saves some memory, it causes a slow down of ~30%. >>>In contrast, the impact of --enable-debug is said to be around 5%.. >> >>How are they related? --enable-debug doesn't do much, except for making >>the memory manager a bit slower and consume a bit more memory. >> >>Anyway, in my opinion it does make sense to have non PIC support for >>libraries, the speed is worth the memory price. It's the same with >>Windows DLLs, BTW. > >What is? Window DLL's aren't PIC? Nope. They have a default loading address, and the code is compiled to assume they would load at that address. If there's a collision, the loader goes over the code and fixes the offsets. Like in Linux, if that happens, the pages that were written onto are no longer shared across processes. Zeev -- Zeev Suraski <[email protected]> http://www.zend.com/