Skip to content

Commit 794f72e

Browse files
committed
ext/ffi: Add comment about why a function was manually optimized
1 parent 6dca04f commit 794f72e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/ffi/ffi.c

+1
Original file line numberDiff line numberDiff line change
@@ -2917,6 +2917,7 @@ static ZEND_FUNCTION(ffi_trampoline) /* {{{ */
29172917
}
29182918
/* }}} */
29192919

2920+
/* This function was manually optimized to reduce the overhead of calling native functions */
29202921
static zend_function *zend_ffi_get_func(zend_object **obj, zend_string *name, const zval *key) /* {{{ */
29212922
{
29222923
zend_ffi *ffi = (zend_ffi*)*obj;

0 commit comments

Comments
 (0)