[php-src] PR #20497: Avoid string copy in ZipArchive::addFromString()
| From: | ndossche | Date: | Sat, 15 Nov 2025 17:32:22 +0000 |
| Subject: | [php-src] PR #20497: Avoid string copy in ZipArchive::addFromString() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34066@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20497
Author: ndossche
Instead of copying the data we increment the refcount of the string.