Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor #4047 Token - inline $other->getPrototype() to speedup equals()…
… (staabm, keradus) This PR was merged into the 2.12 branch. Discussion ---------- Token - inline $other->getPrototype() to speedup equals() as measured in #4026 we try to speedup equals() by inlinening the $this->getPrototype() call. ~~also we use FQCN for native functions, because equals() is called a lot.~~ this speedsup the process by 4-5%. see https://blackfire.io/profiles/compare/f4eefae8-6d09-4ab4-a833-f828d74a7b52/graph ![image](https://user-images.githubusercontent.com/120441/46916011-d6d2c400-cfb4-11e8-89e1-ec64e77477f1.png) Commits ------- 1aecb36 Token - inline $other->getPrototype() to speedup equals()
- Loading branch information