Re: oop too slow

From: Date: Thu, 19 Aug 2004 09:33:05 +0000
Subject: Re: oop too slow
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-194232@lists.php.net to get a copy of this message
On Thu, 19 Aug 2004 11:21:16 +0200, Krzysztof Gorzelak wrote: > Each object gets data from mysql by itself. The generation time of 1 > category [30 products, 10 keys, 5 values ~= 300 mysql queries] takes as I > said more than a 1s (on quite fast machine). How can this model be improved? Why are you doing 300(!!!) mysql queries? I guess you can retrieve the same data with much less queries. 300 queries are slow ... not OOP. thomas

« previous php.general (#194232) next »