Re: Session Vars and Performance

From: Date: Wed, 16 Feb 2005 03:28:53 +0000
Subject: Re: Session Vars and Performance
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-208807@lists.php.net to get a copy of this message
On 15 Feb 2005 Greg Donald wrote: > > If you have to choose between a meaningful variable name and performance > > considerations, buy more hardware! :-) > > > > The cost you'll save in the long run for code maintenance will make it > > worth it. > > Comments in the code make using short session variable names a non-issue. Most of what's in my session file is data, not variable names, and my variable names are not particularly long. Descriptive, but not overly so (actually in this case most of the 'names' are associative array indices). If I shortened the variable names I might go down from 250K to 200K -- if that -- at a large cost in time for code modifications. I'm not at all keen on that approach, though I'm sure it might work for some. -- Tom

« previous php.general (#208807) next »