FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Re: Windows binaries 64bit for PHP
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Windows binaries 64bit for PHP [message #178081 is a reply to message #178079] Sat, 12 May 2012 11:29 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 5/12/2012 4:00 AM, Luuk wrote:
> On 12-05-2012 00:15, Jerry Stuckle wrote:
>> On 5/11/2012 3:53 PM, Luuk wrote:
>>> 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<img ...> 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:
>>>> >
>>>> > <?php
>>>> > 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 ....
>>>
>>
>> One time for each image, vs. 0 times for each image if they are resized
>> offline in a batch script.
>>
>
> So, offline is for 'free' ?
> You are comparing apples with oranges here....
>
>> That overhead x 7.5 million images the op indicates he has is significant.
>>
>

I never said offline is 'free'. But it can be done on any machine; it
doesn't require taking response time from a live server.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: is_dir true from cli, false from Apache
Next Topic: in_array performance in unsorted vs sorted array
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 03 14:39:31 GMT 2024

Total time taken to generate the page: 0.04368 seconds