Become a Patron!

My Amazon wishlist can be found here.

Life Line

foreach() performance improvement backport

Today I backported Marcus' patch from PHP 5.1 back to PHP 4.3.x for inclusion in PHP 4.3.10. This patch improves performance with foreach() where the key of the array element is not interesting (for example foreach($array as $value); ). Benchmarks show that this gives about a performance increase of 4% for eZ publish without using an accelerator. If an accelerator is used, the performance increase will be even larger as this is a pure execution speed patch.

Shortlink

This article has a short URL available: https://drck.me/fpib-3dq

Comments

No comments yet

Add Comment

Name:
Email:

Will not be posted. Please leave empty instead of filling in garbage though!
Comment:

Please follow the reStructured Text format. Do not use the comment form to report issues in software, use the relevant issue tracker. I will not answer them here.


All comments are moderated