protected function cutStats()
	{
		if ( count($this->stats) > 100 )
		{
			reset($this->stats);
			$first = key($this->stats);
			unset($this->stats[$first]);
		}
	}
protected function cutStats()
	{
		if ( count($this->stats) > 100 )
		{
			reset($this->stats);
			$first = key($this->stats);
			unset($this->stats[$first]);
		}
	}
protected function cutStats ( ) { if ( count ( $ this -> stats ) > 100 ) { reset ( $ this -> stats ) ; $ first = key ( $ this -> stats ) ; unset ( $ this -> stats [ $ first ] ) ; } }
On a long run we can eat up too much memory with mere statsistics
Let's keep it at reasonable size, leaving only last 100 entries.
On a long run we can eat up too much memory with mere statsistics Let s keep it at reasonable size leaving only last 100 entries .