Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Date: Fri, 11 May 2012 21:53:13 +0200 From: Luuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.php Subject: Re: Windows binaries 64bit for PHP References: <370jq7t07vrqpqn8l94rbpgcb4vmifma0q@mfesser.de> <0rWqr.8806$br3.2203@newsfe10.iad> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Message-ID: <4a7089-sso.ln1@luuk.invalid.lan> Lines: 33 NNTP-Posting-Host: 2001:980:9089:1:f477:37cb:2449:2d67 X-Trace: 1336766401 news.xs4all.nl 6918 [2001:980:9089:1:f477:37cb:2449:2d67]:60878 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.php:5979 On 11-05-2012 21:30, Jerry Stuckle wrote: > On 5/11/2012 2:58 PM, Shake wrote: >> Jerry Stuckle a couché sur son écran : >>> >>> Loading the script, starting the scripting module, initializing the >>> environment, interpreting and running the script, checking for the >>> presence of the image, storing a resized script if necessary, loading >>> the image and sending it, and cleaning up the environment. >>> >>> This vs. sending the image directly via an tag. >>> >>> Nope, no extra overhead! And no way to send the image without a script! >>> >> >> The Extra overhead is something like in the code that generate the page: >> >> > if(!file_exists(IMG_PATH.$image_file)) scaleImage($image_file); >> ?> >> >> Not look like an "application killer" to me. >> >> Greetings. >> >> > > There's a lot more to the overhead than that! > only when file does not exists, and, of course, the scaleImage wil make sure that it exists next time! So, there will only be some overhead 1 time ....