RE: [PHP] Re: oop too slow
| From: | Jay Blanchard | Date: | Thu, 19 Aug 2004 12:01:57 +0000 |
| Subject: | RE: [PHP] Re: oop too slow | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-194242@lists.php.net to get a copy of this message | ||
[snip]
Yes it does. Do you think it's not so slow ?
> [snip]
> Well, I changed my script a little for tests and turned off the
queries.
> Now
> I'm setting some defaults data to those 300 objects but it's still too
> slow.
> I create for every value, key and product a different object so it's
in
> fact
> 30*10*5 objects. Then I run __toString() method one by one and
generate
> my
> page. Is it proper to creating a separate objects for all values ? It
> makes
> my code much more easy...
> [/snip]
>
> So let me see if I understand. It takes 1.2 seconds to generate 1500
> objects (30*10*5)?
>
[/snip]
How large are the objects? I do not think that this is too slow. How
fast do you think it should be?