Files
compute-runtime/shared/source
Patryk Wrobel 44e1f1ba4b Remove redundant copying of std::vectors
Usage of initializer list in for loop to iterate over heavy types
has bad consequences. std::initialize_list is only a view and its
data is silently created as T[N]. Therefore, if someone uses
std::vector with it, it will cause deep-copying of the elements.

This change introduces usage of pointers on std::initializer_list
to perform a shallow-copy of an addresses. Furthermore, it adds
const references in few places, where copy is not needed.

Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-08-16 09:27:16 +02:00
..
2022-05-18 11:42:06 +02:00
2022-06-13 12:47:54 +02:00
2022-07-25 09:58:38 +02:00
2021-05-17 20:38:19 +02:00
2022-08-09 13:55:30 +02:00
2021-12-07 10:22:41 +01:00
2022-07-27 12:01:36 +02:00
2022-07-25 09:58:38 +02:00
2022-05-18 11:42:06 +02:00
2022-07-25 09:58:38 +02:00
2022-02-25 10:59:28 +01:00
2022-05-18 11:42:06 +02:00
2021-07-05 19:13:32 +02:00
2022-06-23 10:05:45 +02:00