1
0
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:
Gina Peter Banyard
2025-03-31 17:02:59 +01:00
parent f7a7e1c9ad
commit 5a4c460329

View File

@@ -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) /* {{{ */
{
zend_ffi *ffi = (zend_ffi*)*obj;