You are here: Re: Writing multilingual site - how to effectively output strings depending on language « PHP Programming Language « IT news, forums, messages
Re: Writing multilingual site - how to effectively output strings depending on language

Posted by Tony Marston on 07/12/06 14:45

"Marcin Dobrucki" <Marcin.Dobrucki@TAKETHISAWAY.nokia.com> wrote in message
news:z33tg.33862$_k2.597394@news2.nokia.com...
> Tony Marston wrote:
>
>> Since when does reading from memory cause a read from disk?
>
> Well, with virtual memory, that is quite possible. However, seeing as the
> file will probably be in the file cache, and will probably be accessed
> frequently during the page generation, disk access should be very limited.

You are including a lot of "ifs, ands and buts" which do nothing but
introduce unnecessary complications. The point at issue is about disk
accesses that are written into the program, not executed by the file system.
So as far as I am concerned reading in 1000 entries in one go is more
efficient than reading the same 1000 entries one at a time. 1 read or 1000
reads - which is more efficient?

--
Tony Marston

http://www.tonymarston.net
http://www.radicore.org

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация