Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compress interned string table offsets and increase maximum supported buffer size #13676

Merged
merged 2 commits into from
Mar 19, 2024

Commits on Mar 11, 2024

  1. Compress interned string table offsets and increase maximum supported…

    … buffer size
    
    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.
    arnaud-lb committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    0d88106 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. typo

    arnaud-lb committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    c053f70 View commit details
    Browse the repository at this point in the history