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 #177980] Wed, 09 May 2012 15:05 Go to previous message
Gregor Kofler is currently offline  Gregor Kofler
Messages: 69
Registered: September 2010
Karma:
Member
Am 2012-05-09 15:14, Jerry Stuckle meinte:

>> Who said repeatedly rescale? The process I've been talking about is more
>> like "lazy" scaling.
>
> OK, so you do it "on the fly" and store the result. That still takes
> more time than doing it once and forgetting it. Your way, you have to
> check on every request for the image to see if your size exists before
> deciding if you need to rescale it or not. Another unnecessary waste of
> processing time.

Please... Having a page with a bunch of images uploaded by users in
various (normally large) sizes the scaling on the fly takes the
proverbial ages (i.e. several seconds). Particularly on shared hosts.
Checking for the existence of a file (you know the output size and you
changed the file name of you rescaled images accordingly) is negligible.
Rescaling happens once, retrieving thousands of times (or more).

> And you still haven't answered the question as to why it would take
> months to rescale your images.

Indeed.

Gregor
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: PHP Eassy and Difficult
Next Topic:
Goto Forum:
  

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

Current Time: Fri Nov 22 22:16:20 GMT 2024

Total time taken to generate the page: 0.04934 seconds