Do symbol references always go through a hash table?
| From: | Jesse Schalken | Date: | Tue, 17 May 2016 13:03:08 +0000 |
| Subject: | Do symbol references always go through a hash table? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-93373@lists.php.net to get a copy of this message | ||
Hi Internals,
I'd like to know whether references to
classes/functions/methods/properties/variables always go through a hash
table at runtime, or if the name is optimised into a pointer or fixed
offset. I recall seeing such an optimisation for local variables, but what
about the others?
Thanks