diff options
author | Marc Mutz <[email protected]> | 2025-06-12 14:56:06 +0200 |
---|---|---|
committer | Marc Mutz <[email protected]> | 2025-06-16 21:34:44 +0200 |
commit | a1d8fa55aa22b07823c87402eb706d908c06c3c8 (patch) | |
tree | df4e2543f3fa11ea19d721435685f47af2adb1a8 /cmake/tests/empty.cpp | |
parent | f50097e639601607b51945ed30967d3686aadff1 (diff) |
The Golden Rule of container selection is "Never use a
dynamically-sized container for statically-sized data."
The number of threads is fixed, so we should be using std::array
instead of std::vector. Minimize(s) the number of NUM_THREADS
mentions, too.
Amends 253f34082f526ff1ffd9eaefac73cc9aa616ab2a.
Pick-to: 6.10 6.9 6.8 6.5
Change-Id: Ide69ad08abef9efdbc2ec11be5bd8fd3feb8973a
Reviewed-by: Ahmad Samir <[email protected]>
Diffstat (limited to 'cmake/tests/empty.cpp')
0 files changed, 0 insertions, 0 deletions