C++20 STL Features: 1 Year of Development on GitHub
containers have member .erase(key) • Inspects only the key, using the container's predicate • Ordered: "Logarithmic" time, O(K + log N) • Unordered: "Constant" time, average O(K), worst O(N) • Only Avoids potential confusion41 Continuous Integration • Scripts prepare Azure Virtual Machine Scale Sets • Currently up to 12 VMs, each with 16 cores • VMs install VS (with Clang, CMake, Ninja), Python0 码力 | 45 页 | 702.09 KB | 5 月前3Working with Asynchrony Generically: A Tour of C++ Executors
th([=](std::stop_token token) { while (!token.stop_requested()) { int ch = _getch(); // Totally not portable! callback((char)ch); if (ch == CTRL_C) break; }0 码力 | 121 页 | 7.73 MB | 5 月前3Lock-Free Atomic Shared Pointers Without a Split Reference Count? It Can Be Done!
garbage, and scan one thread’s protected pointer. • Requires pipelining the garbage sets and the protected pointer sets so that we only reclaim garbage from before the protected pointers were announced450 码力 | 45 页 | 5.12 MB | 5 月前3ClickHouse: настоящее и будущее
стандарта и сохранить все расширения ClickHouse! 2021: Window Functions, ANY/ALL, EXISTS, GROUPING SETS... 2022: Correlated Subqueries Отсутствие оптимизаций JOIN 18 • Не учитывается сортировка таблицы0 码力 | 32 页 | 2.62 MB | 1 年前3C++23: An Overview of Almost All New and Updated Features
Support57 basic_string::resize_and_overwrite() resize_and_overwrite(count, op) Resizes a string and sets new content by invoking an operation Used if performance is critical Effect: If count <=0 码力 | 105 页 | 759.96 KB | 5 月前3
共 5 条
- 1