You are here: Re: Storing file information in memory « PHP Programming Language « IT news, forums, messages
Re: Storing file information in memory

Posted by deciacco on 11/16/07 14:43

These days memory is not an issue, but that does not mean we shouldn't write
good, efficient code that utilizes memory well.

While 1.7MB is not much, that is what is generated when I look at ~2500
files. I have approximately 175000 files to look at and my script uses up
about 130MB. I was simply wondering if someone out there with more
experience, had a better way of doing this that would utilize less memory.

"The Natural Philosopher" <a@b.c> wrote in message
news:1195209624.8024.5@proxy00.news.clara.net...
> deciacco wrote:
>> thanks for the reply steve...
>>
>> basically, i want to collect the file information into memory so that I
>> can then do analysis, like compare file times and sizes. it's much faster
>> to do this in memory than to do it from disk. should have mentioned this
>> earlier as you said...
>>
>
> Why do you care how much memory it takes?
>
> 1.7MB is not very much.

 

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

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