You are here: Re: php array performance « PHP Language « IT news, forums, messages
Re: php array performance

Posted by Colin McKinnon on 10/08/05 16:54

Robert Erstwhile wrote:

> Does anyone know if there is any way to improve php array performance?
>
> I am currently developing an application which uses very large
> multidimensional arrays, with many multiple dimensions. I am rapidly
> discovering that php seems to be quite weak in this area.
>

I found the same thing with an array of approx 10000 elements it turned out
to be several times faster to store the data in MySQL & generate dynamic
queries on a remote machine than to deserialize an array from the local
filesystem and search it. Although in my case I was only looking for a few
elements from the array and it was easy to describe as an SQL query.

C.

 

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

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