[php-src] PR #13676: Compress interned string table offsets and increase maximum supported buffer size

From: Date: Mon, 11 Mar 2024 18:34:47 +0000
Subject: [php-src] PR #13676: Compress interned string table offsets and increase maximum supported buffer size
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-25374@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/13676 Author: arnaud-lb The interned string buffer is organized as a header + a hash table + a zend_string arena. Hash slots point to the arena, but are represented as 32bit offsets from the buffer, which limits the maximum buffer size to about 4GiB. However zend_strings are 8-byte aligned in the buffer, so we can compress the 3 lower bits. This allows to increase the maximum supported interned string buffer size from 4095 MiB to 16367 MiB.

« previous php.git-pulls (#25374) next »