Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
julietto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
julietto
2y ago
The solution to that is to either: 1) If you're gonna return pointers, don't use an allocation scheme that invalidates pointers in the implementation of map_t. 2) If you want to reallocate and move memory, don't return pointe