Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dreiss
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
dreiss
14y ago
- It adjusts its growth strategy to work well with the properties of the allocator. - It requires that its members be relocatable and uses memmove to speed up move operations.
2.
▲
by
dreiss
14y ago
If your object is in a vector, it's already possible for the vector to move the object without updating any pointers to it. The only question is whether it is safe for the vector to move the object with memmove instead of invoking a copy/m