Re: why should $_SESSION be slower than other arrays?

From: Date: Thu, 09 Sep 2004 15:03:07 +0000
Subject: Re: why should $_SESSION be slower than other arrays?
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-196224@lists.php.net to get a copy of this message
On Thu, 2004-09-09 at 10:57, raditha dissanayake wrote: > John Holmes wrote: > > > From: "raditha dissanayake" <jabber@raditha.com> > > > >>> The following code gives me this: > >>> Normal $val: 9.4890594482422E-05 > >>> Session var: 1.1920928955078E-05 > >> > >> > >> The key here is the 'to the power of -05' bit. > > > > > > Yeah? > > > > 0.0000948 > > 0.0000112 > > > > Which one is larger? > > The answer is that for such small measurements you cannot say for certain. But you could if you ran the test a billion times and took the average. Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#196224) next »