[php-src] PR #18155: Reflection: optimize smart_str building
| From: | DanielEScherzer | Date: | Wed, 26 Mar 2025 21:26:05 +0000 |
| Subject: | [php-src] PR #18155: Reflection: optimize smart_str building | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31182@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18155
Author: DanielEScherzer
- When appending a single character to the string, use
smart_str_appendc()
- When appending a C-string without printf use, use smart_str_appends()
- When appending just a zend_string, use smart_str_append()