Re: [PHP] 2 questions about performance...

2001-03-06 Thread Chris Lee
simplest answer is find out yourself. every machine will depending on config and hardware will be difffernet. start = mtime(); } function reset() { $all_vars = get_object_vars($this); foreach($all_vars as $pos => $val) if ($pos != 'error') unset($this->$pos);

[PHP] 2 questions about performance...

2001-03-06 Thread Joe Sheble \(Wizaerd\)
Is it in-efficient to use shuffle()? I have a simple 6 element array with 6 strings (URLs to images) and I'm using shuffle() to display all of them in random order upon each page load. The images take a long time (of course is relative, it's mere seconds) but when I remove the call to shuffle, t