]> granicus.if.org Git - php/commit
Optimize zend_mm_small_size_to_bin()
authorBob Weinand <bobwei9@hotmail.com>
Sat, 19 Sep 2015 21:07:43 +0000 (23:07 +0200)
committerBob Weinand <bobwei9@hotmail.com>
Sat, 19 Sep 2015 21:07:43 +0000 (23:07 +0200)
commit08e253cdbc0a98e160cfd9c810ba213c7bcb3512
treeb879eff5cd2bae6cba66d323052d300448ed44b6
parentb8f56013b5501071a0fa5c74401afe861e5519f7
Optimize zend_mm_small_size_to_bin()
It removes a cmov operation and has a much faster branch for small allocations (especially when handling strings) (<= 64 bytes)
Zend/zend_alloc.c
Zend/zend_closures.c
Zend/zend_execute.c