mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-05 08:43:29 +08:00
fix syntax in illustrative example
This commit is contained in:
@@ -689,7 +689,7 @@ constexpr auto lookup_table = [] {
|
|||||||
|
|
||||||
// Per.19: Prefer contiguous data for cache-friendliness
|
// Per.19: Prefer contiguous data for cache-friendliness
|
||||||
std::vector<Point> points; // GOOD: contiguous
|
std::vector<Point> points; // GOOD: contiguous
|
||||||
std::vector<std::unique_ptr<Point>>; // BAD: pointer chasing
|
std::vector<std::unique_ptr<Point>> indirect_points; // BAD: pointer chasing
|
||||||
```
|
```
|
||||||
|
|
||||||
### Anti-Patterns
|
### Anti-Patterns
|
||||||
|
|||||||
Reference in New Issue
Block a user