Would you like some performance with your PHP?
This week I uncovered some interesting and disturbing facts about the state of performance of custom functions in PHP. Like most of us (PHP programmers) are probably already aware, PHP is not the fastest because of the range of flexibility it provides. However I ended up with some startling results when I tested multiple common ways to define a custom function.
Native functions will always be faster than custom functions, but when the exact same custom function is moved to a namespace something very saddening happens. To be honest I am afraid to see what would happen on a loaded web server environment where you have more going on than a stupid loop.
- Words
- See Also
- Locator
- Things
- World of Warcraft
- Blogroll
- Twit
- Sites
|
|||||||||||||||||||||||||||||||||||||||||||||||||||

