note 128693 added to class.arrayiterator

From: Date: Thu, 06 Jul 2023 14:00:30 +0000
Subject: note 128693 added to class.arrayiterator
Groups: php.notes 
Request: Send a blank email to php-notes+get-220654@lists.php.net to get a copy of this message
Perfomance (count calls per seconds) new ArrayIterator([...]): with 100 ellements (1 byte each) - 2 000 000 with 1000 ellements (1 byte each) - 300 000 with 1000 ellements (64 byte each) - 150 000 No so fast. For compare create "$array = array(...);" with : with 1000 ellements (64 byte each) 60 000 000 new array can be create in one seconds ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.159.168 (proxied: 83.220.237.14) ---- Manual Page -- https://php.net/manual/en/class.arrayiterator.php Edit -- https://main.php.net/note/edit/128693 Del: integrated -- https://main.php.net/note/delete/128693/integrated Del: useless -- https://main.php.net/note/delete/128693/useless Del: bad code -- https://main.php.net/note/delete/128693/bad+code Del: spam -- https://main.php.net/note/delete/128693/spam Del: non-english -- https://main.php.net/note/delete/128693/non-english Del: in docs -- https://main.php.net/note/delete/128693/in+docs Del: other reasons-- https://main.php.net/note/delete/128693 Reject -- https://main.php.net/note/reject/128693 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#220654) next »