Skip to content

Commit a74c59e

Browse files
ci fix: broken links
1 parent 5305931 commit a74c59e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

documents/en/vol10-open-lecture-notes/cppcon/2025/04-back-to-basics-move-semantics/01-copy-cost-and-motivation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ Good question. SSO means that if a string is short enough (the threshold in libs
415415

416416
But once a string exceeds the SSO threshold, `std::string` falls back to heap allocation, and the advantage of move semantics becomes fully apparent — one pointer swap vs one `malloc` + `memcpy`. Moreover, even for short strings, move semantics allows the compiler to avoid unnecessary copies in more scenarios.
417417

418-
For a complete analysis of SSO, we previously discussed it in detail in vol3's [string 深入:SSO、COW 与 resize_and_overwrite](../../../../vol3-standard-library/02-string-memory-deep-dive.md), so we will not expand on it here.
418+
For a complete analysis of SSO, we previously discussed it in detail in vol3's [string 深入:SSO、COW 与 resize_and_overwrite](../../../../../vol3-standard-library/02-string-memory-deep-dive.md), so we will not expand on it here.
419419

420420
## What We Have Figured Out So Far
421421

0 commit comments

Comments
 (0)