[GIT-PULLS] [php-src] PR #23110: Optimize serialize

[email protected] (kamil-tekiela)
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/23110
Author: kamil-tekiela

NOTE: I did not write this PR. This is part of my experiments with Claude. This PR was created entirely by Claude Sonnet 5 and tested by me. 

Benchmarking shows that there is real improvement, although the results vary depending on the size and contents of the payload. There doesn't seem to be any performance degradation in a normal case. 

Code comments have been committed separately so that they can be discarded. 

Please treat this as an experiment. If you don't feel comfortable reviewing or merging it, please don't.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.