Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by kpcyrd

4 days ago

What about using the filesystem as an optimized dict implementation?

3 comments

kpcyrd

Reply

olmo23  4 days ago

this is never going to be faster because it requires syscalls

  • kpcyrd  4 days ago

    The time you lose at the syscall boundary you may be able to win back during much shorter GC pauses.

    • cess11  4 days ago

      Some suggestions that are already in the PR list disable GC.

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

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities