Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One line at a time. Is that significantly slower for stdin? I would assume that this wouldn't make a difference, since we're talking about simple memory operations, and 20k method invocations shouldn't be that hard on a modern system.


stdin? No, that shouldn't matter then, but it would if you were reading from file.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: