Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
user3939382
17 days ago
|
parent
|
context
|
favorite
| on:
100M-Row Challenge with PHP
exec(‘c program that does the parsing’);
Where do I get my prize? ;)
brentroose
17 days ago
[–]
The FAQ states that solutions like FFI are not allowed because the goal is to solve it with PHP :)
kpcyrd
17 days ago
|
parent
[–]
What about using the filesystem as an optimized dict implementation?
olmo23
17 days ago
|
root
|
parent
[–]
this is never going to be faster because it requires syscalls
kpcyrd
17 days ago
|
root
|
parent
[–]
The time you lose at the syscall boundary you may be able to win back during much shorter GC pauses.
cess11
17 days ago
|
root
|
parent
[–]
Some suggestions that are already in the PR list disable GC.
https://www.php.net/manual/en/function.gc-disable.php
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Where do I get my prize? ;)