Hacker News new | ask | show | jobs
by kpcyrd 121 days ago
What about using the filesystem as an optimized dict implementation?
1 comments

this is never going to be faster because it requires syscalls
The time you lose at the syscall boundary you may be able to win back during much shorter GC pauses.
Some suggestions that are already in the PR list disable GC.

https://www.php.net/manual/en/function.gc-disable.php