Reply to Re: Database suggestion

Your name:

Reply:


Posted by Mikhail Kovalev on 12/05/07 13:23

On 5 Des, 14:02, The Natural Philosopher <a...@b.c> wrote:
> Mikhail Kovalev wrote:
> > I unserialize an 8MB file, which contains the db array, and put the
> > new element there (then serialize the whole thing again and store)
>
> I am far from understanding what you are actually doing, but it sounds
> like you are willing to trade disk usage for speed and memory usage.

Yep, you nailed it right on through, my friend

My question is, will I be able to access and store values by
addresses?
Such as here:
$database[33][NEXT][1221][NEXT][12][COUNT] += 1; for example

Each element contains a COUNT value and an array of childs (NEXT),
which can be non-empty, empty or non-existent (when i check if it
exists)
Looks like this at top level:

Array(
433 => Array(
COUNT => 2121,
NEXT => Array( //
23 => Array( count&next etc ...)
433 => ...
etc...
)
),
1012 => Array( count & next.....)
.....
)

[Back to original 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

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