Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lessbergstein
on Jan 4, 2024
|
parent
|
context
|
favorite
| on:
The One Billion Row Challenge
Why are you using cat at all? Use a pipe. This isn't hard stuff. Don't use <>, feed the file into a scalar or array. it should only take a few seconds to process a billion lines.
https://www.perl.com/pub/2003/11/21/slurp.html/#:~:text=Anot...
.
sobellian
on Jan 4, 2024
[–]
If it isn't hard, then perhaps you could demonstrate with a complete perl program that you think should beat java.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://www.perl.com/pub/2003/11/21/slurp.html/#:~:text=Anot....