Remix.run Logo
user3939382 10 hours ago

exec(‘c program that does the parsing’);

Where do I get my prize? ;)

brentroose 10 hours ago | parent [-]

The FAQ states that solutions like FFI are not allowed because the goal is to solve it with PHP :)

kpcyrd 9 hours ago | parent [-]

What about using the filesystem as an optimized dict implementation?

olmo23 8 hours ago | parent [-]

this is never going to be faster because it requires syscalls

kpcyrd 7 hours ago | parent [-]

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

cess11 5 hours ago | parent [-]

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

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