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

tl;dr: str.count($\) was 1.5x faster compared to str.lines.count and didn't allocate additional memory.


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

Search: