Re: Writing multilingual site - how to effectively output strings depending on language
Posted by Marcin Dobrucki on 07/12/06 08:50
Tony Marston wrote:
> But which of these is more efficient?:
> (a) Reading a file of 1000 entries into memory so that each entry can be
> read from memory.
> (b) Reading each of the 1000 entries from disk individually.
Seeing as the file will be read into the filesystem cache, its
unlikely that you will be doing 1000 disk access' to get the data.