History log of /PHP-8.1/ext/standard/tests/strings/pack_arrays.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 21422e85 14-May-2021 K

Optimize unpack() for named fields (#6958)

Create name using either zend_init_string_fast (no repetitions) or by concatenating the name with zend_print_ulong_to_buf. This is much more effici

Optimize unpack() for named fields (#6958)

Create name using either zend_init_string_fast (no repetitions) or by concatenating the name with zend_print_ulong_to_buf. This is much more efficient than using snprintf. We also avoid repeated strlen() calculations.

show more ...