Re: include_once() within a function
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Sat, 08 Sep 2007 17:15:11 -0400
Mikhail Kovalev wrote:
On 8 Sep, 22:33, Michael Fesser <neti...@xxxxxx> wrote:.oO(Mikhail Kovalev)
On 8 Sep, 22:05, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:Just curious - what's in that array? Wouldn't it be possible to use aBut the real question is - why does it take several seconds to load?It loads a 1,8 MB array stored as serialized in a file....=)
I've never had a PHP file take that long!
database instead?
Micha
It's a tree of 20 levels. Like arrays in an array in etc
I have no experience with Mysql which would be the only option in my
case, sort of new to php as well, and im unsure of amount of work
needed to rewrite the code,
Load time is only some 10-15 seconds anyway, but very heavy on RAM on
my machine, illl tell you hehe
A relational database would speed things up considerably. Especially if you don't need all of the items.
And 10-15 seconds? Very few users are going to wait that long, and only the most desperate will do it repeatedly.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- Follow-Ups:
- Re: include_once() within a function
- From: Mikhail Kovalev
- Re: include_once() within a function
- References:
- include_once() within a function
- From: Mikhail Kovalev
- Re: include_once() within a function
- From: Rik Wasmus
- Re: include_once() within a function
- From: Mikhail Kovalev
- Re: include_once() within a function
- From: Mikhail Kovalev
- Re: include_once() within a function
- From: Jerry Stuckle
- Re: include_once() within a function
- From: Mikhail Kovalev
- Re: include_once() within a function
- From: Michael Fesser
- Re: include_once() within a function
- From: Mikhail Kovalev
- include_once() within a function
- Prev by Date: Re: Can not open url using fopen or file
- Next by Date: Re: include_once() within a function
- Previous by thread: Re: include_once() within a function
- Next by thread: Re: include_once() within a function
- Index(es):
Relevant Pages
|