Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
speede
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
speede
11y ago
This is primitive C practice: allocate a "bigger buffer than you'll ever need"--a siren call for exploiters. There's a simpler way: when you see a backslash, start a (strict) counter.