4 ms·The FAQ states that solutions like FFI are not allowed because the goal is to solve it with PHP :)by brentroose 7mo agoThe FAQ states that solutions like FFI are not allowed because the goal is to solve it with PHP :)kpcyrd 7mo agoWhat about using the filesystem as an optimized dict implementation?olmo23 7mo agothis is never going to be faster because it requires syscallskpcyrd 7mo agoThe time you lose at the syscall boundary you may be able to win back during much shorter GC pauses.cess11 7mo agoSome suggestions that are already in the PR list disable GC. https://www.php.net/manual/en/function.gc-disable.php https://www.php.net/manual/en/function.gc-disable.php