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

From: Date: Fri, 09 Mar 2001 01:32:15 +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-48365@lists.php.net to get a copy of this message
ID: 7796 Updated by: sniper Reported By: ramzeus@home.se Old-Status: Feedback Status: Closed Bug Type: Performance problem Assigned To: Comments: No feedback. Try PHP 4.0.4pl1, maybe it works better? --Jani Previous Comments: --------------------------------------------------------------------------- [2001-01-21 05:16:47] cynic@php.net recursion in PHP is pretty fast. could you post a (stripped down as much as possible) script that shows the behavior? --------------------------------------------------------------------------- [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? --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7796&edit=2

« previous php.dev (#48365) next »