Y
Hacker News
new
|
ask
|
show
|
jobs
by
ilyazub
1019 days ago
tl;dr: str.count($\) was 1.5x faster compared to str.lines.count and didn't allocate additional memory.