Slow references?

From: Date: Mon, 14 Jan 2002 02:25:59 +0000
Subject: Slow references?
Groups: php.general 
Request: Send a blank email to php-general+get-80404@lists.php.net to get a copy of this message
Is it just me, or is working with references slow? I have functions that loop through about 10000 lines of text, generating stats on the content. When I pass the lines to the function normally, this takes 0.8 seconds. Passing by reference, or as a reference, both increase the time to 6 seconds. Meaning that working with references takes 750% the time. In my head, making a copy should be slowest, but apparently referencing is far slower... Am I missing a point anywhere? --|-- Tino Didriksen http://ProjectJJ.dk/

« previous php.general (#80404) next »