|
|
|
|
|
by withinboredom
1373 days ago
|
|
> purpose of wrapping native PHP array mutation in an object is and what overhead that introduces. The purpose is to illustrate what we are doing and setting the stage for later implementations. The overhead is practically unmeasurable unless we are filling the object table with these things (we are not). Property lookup and function calls are pretty darn fast in PHP, especially with JIT enabled. |
|
I think that's typically how one would measure complexity and regardless of JIT I think it introduces some artificial cost.