PHP 4.0 Bug #7796 Updated: Slow reqursive functions with MySQL

From: Date: Sun, 21 Jan 2001 10:16:47 +0000
Subject: PHP 4.0 Bug #7796 Updated: Slow reqursive functions with MySQL
Groups: php.dev 
Request: Send a blank email to php-dev+get-44671@lists.php.net to get a copy of this message
ID: 7796 Updated by: cynic Reported By: ramzeus@home.se Old-Status: Open Status: Feedback Bug Type: Performance problem Assigned To: Comments: recursion in PHP is pretty fast. could you post a (stripped down as much as possible) script that shows the behavior? Previous Comments: --------------------------------------------------------------------------- [2000-11-13 19:04:36] ramzeus@home.se I have a PHP function that draws out a forum stored i a MySQL database. The function uses a reqursive call to itself, to do the next messagereply on the current message. My problem is that all this works VERY slow. All other MySQL calls works very fast... The preformance I'm getting is about 2.2 KB/s data output (HTML formatd). All other operations give me about 30 KB/s (may be more because there is only a 256 Kbit connection to the server). I'm using the supplied standard mysql.ini file Is there a memory leaking problem? --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7796

« previous php.dev (#44671) next »