8000 Update 08-Considering_Performance.md · ankuPRK/cppbestpractices@6e22a97 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6e22a97

Browse files
authored
Update 08-Considering_Performance.md
1 parent c14bafe commit 6e22a97

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

08-Considering_Performance.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,3 +331,13 @@ f("world");
331331
auto f = [](const std::string &s) { return my_function("hello", s); };
332332
f("world");
333333
```
334+
335+
336+
### Know The Standard Library
337+
338+
Properly use the already highly optimized components of the vendor provided standard library.
339+
340+
#### `in_place_t` And Related
341+
342+
Be aware of how to use `in_place_t` and related tags for effecient creation of objects such as `std::tuple`, `std::any` and `std::variant`.
343+

0 commit comments

Comments
 (0)
0