> Terrence Cox wrote: > > Is there a better way? > > Why not declare a class for this? >
Speed! I wrote a load balancer for a pool of replicated db's (using PHP) and I presently use small connection objects to, you guessed it, maintain the connections to the individual machines. However, wouldn't encapsulating that data (information about the db) in arrays (that are like structures) be faster? Then just offload the methods to plain old functions. I want the data encapsulation without the performance hit. Cheers, T...... -- _______________________________________________ Get your free email from http://mymail.operamail.com Powered by Outblaze -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php