note 117540 added to class.arrayobject

From: Date: Fri, 26 Jun 2015 02:34:20 +0000
Subject: note 117540 added to class.arrayobject
Groups: php.notes 
Request: Send a blank email to php-notes+get-202958@lists.php.net to get a copy of this message
I did some benchmarking.... ArrayObject is super fast. It is almost identical to regular arrays when doing get access in my test (1 million iteration). This is insane. When make a class with ArrayAccess, performance drops is 2x or more. ---- Server IP: 72.52.91.14 Probable Submitter: 70.55.37.220 ---- Manual Page -- http://php.net/manual/en/class.arrayobject.php Edit -- https://master.php.net/note/edit/117540 Del: integrated -- https://master.php.net/note/delete/117540/integrated Del: useless -- https://master.php.net/note/delete/117540/useless Del: bad code -- https://master.php.net/note/delete/117540/bad+code Del: spam -- https://master.php.net/note/delete/117540/spam Del: non-english -- https://master.php.net/note/delete/117540/non-english Del: in docs -- https://master.php.net/note/delete/117540/in+docs Del: other reasons-- https://master.php.net/note/delete/117540 Reject -- https://master.php.net/note/reject/117540 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#202958) next »