0
0
mirror of https://github.com/pmmp/ext-encoding.git synced 2025-09-19 18:49:41 +00:00
Files
Dylan K. Taylor a7c6198e8e Improved ByteBufferWriter performance by 5-6%
Using zend_string for buffers was convenient and allowed multiple
buffers to reference the same buffer, but in practice this was just
slowing things down.

Writers will now always copy memory when cloned, ensuring that every
writer has full ownership of the memory in question. This eliminates the
potential for a string to be shared, and we don't have to worry about
zend interned strings or any of that jazz.
2025-09-11 20:18:53 +01:00
..
2025-09-08 22:09:03 +01:00