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

Consider using a user-space buffer instead, syscalls are slow so bonus points for limiting them are on the table. If you want to avoid resizing an array have a look at the vectored io syscalls (readv etc.).




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

Search: