mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
ext/ffi: Add comment about why a function was manually optimized
This commit is contained in:
@@ -2917,6 +2917,7 @@ exit:
|
|||||||
}
|
}
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
/* This function was manually optimized to reduce the overhead of calling native functions */
|
||||||
static zend_function *zend_ffi_get_func(zend_object **obj, zend_string *name, const zval *key) /* {{{ */
|
static zend_function *zend_ffi_get_func(zend_object **obj, zend_string *name, const zval *key) /* {{{ */
|
||||||
{
|
{
|
||||||
zend_ffi *ffi = (zend_ffi*)*obj;
|
zend_ffi *ffi = (zend_ffi*)*obj;
|
||||||
|
|||||||
Reference in New Issue
Block a user