Ethan Hardy
19721bb1c4
Fix #8349 : Add const to Max Array C/C++ examples where applicable. ( #8350 )
...
As noted by Matt during his [Advent of Compiler Optimizations - Episode
20: Vectorization
[0:55]](https://www.youtube.com/watch?v=d68x8TF7XJs&t=55s ), `const` can
and should be introduced here.
We don't need the elements of `y` to be modifiable.
Closes #8349
<!-- THIS COMMENT IS INVISIBLE IN THE FINAL PR, BUT FEEL FREE TO REMOVE
IT
Thanks for taking the time to improve CE. We really appreciate it.
Before opening the PR, please make sure that the tests & linter pass
their checks,
by running `make check`.
In the best case scenario, you are also adding tests to back up your
changes,
but don't sweat it if you don't. We can discuss them at a later date.
Feel free to append your name to the CONTRIBUTORS.md file
Thanks again, we really appreciate this!
-->
2025-12-22 19:20:18 -06:00
..
2022-06-20 12:24:31 +01:00
2025-04-24 09:47:16 +02:00
2022-04-08 08:55:32 -05:00
2024-12-20 11:58:18 -06:00
2024-12-20 11:58:18 -06:00
2024-07-01 19:52:01 -05:00
2025-12-22 19:20:18 -06:00
2023-06-02 08:08:57 -05:00
2025-12-22 19:20:18 -06:00
2025-02-12 13:41:08 -06:00
2021-07-25 21:26:00 -05:00
2024-07-10 09:04:05 +02:00
2018-10-14 01:30:35 +02:00
2025-10-22 09:04:20 -05:00
2021-08-26 21:57:07 +02:00
2023-12-04 21:03:50 -06:00
2023-03-01 06:17:26 +08:00
2025-02-24 10:10:35 -06:00
2025-02-24 10:10:35 -06:00
2022-09-20 07:42:41 -05:00
2021-07-13 09:24:13 -05:00
2020-09-17 21:59:34 -05:00
2021-06-25 17:23:51 -05:00
2020-08-20 16:27:15 +02:00
2021-07-12 08:37:32 -05:00
2022-11-27 10:39:05 -06:00
2022-05-19 13:27:23 +02:00
2018-03-28 22:23:06 +02:00
2022-02-11 16:19:16 +01:00
2024-02-05 20:54:01 -06:00
2021-11-21 14:22:04 +01:00
2023-03-11 14:18:03 -06:00
2022-11-27 10:14:35 -06:00
2023-12-03 11:34:25 -05:00
2024-09-30 22:19:55 -05:00
2025-07-29 16:37:54 -05:00
2017-12-09 11:19:45 +01:00
2025-11-04 12:08:20 -06:00
2022-08-09 07:32:19 -05:00
2022-09-25 15:06:02 -05:00
2023-10-11 15:01:45 -04:00
2024-10-01 14:32:19 +02:00
2025-10-07 14:55:38 -05:00
2023-09-22 13:18:00 +02:00
2019-05-26 19:45:20 +02:00
2024-01-16 22:13:22 -06:00
2023-01-14 15:44:14 +01:00
2021-06-02 22:58:41 +02:00
2018-03-28 22:23:06 +02:00
2023-02-24 00:28:15 -05:00
2023-03-30 18:20:56 +02:00
2023-02-23 20:43:56 +01:00
2025-05-21 13:53:05 -05:00
2020-10-08 23:58:33 +02:00
2025-05-11 16:07:40 -05:00
2025-02-19 10:41:42 -06:00
2023-01-21 10:01:11 +01:00
2023-01-21 10:01:11 +01:00
2018-12-15 21:31:15 +03:00
2024-12-06 17:28:47 +01:00
2021-07-06 08:32:22 -05:00
2018-03-28 22:23:06 +02:00
2022-07-18 20:18:36 +02:00
2025-05-12 12:51:03 -05:00
2022-02-19 21:31:20 +01:00
2022-10-05 09:32:45 +02:00
2025-06-09 12:39:53 -05:00
2021-07-30 16:29:37 -04:00
2025-04-20 04:52:25 +00:00
2025-04-17 17:22:18 -05:00
2021-06-29 09:39:06 +02:00
2024-12-04 04:45:50 -06:00
2024-01-15 15:18:59 -06:00
2022-04-14 02:33:13 +02:00
2024-02-12 21:50:33 -06:00
2024-10-28 21:24:50 -05:00
2025-02-24 09:38:13 -06:00
2020-09-20 01:18:54 +02:00
2023-11-07 00:32:24 +01:00
2022-06-24 22:07:40 +02:00
2025-07-30 10:15:28 -05:00
2022-03-21 22:14:03 -05:00
2023-08-15 22:16:36 -05:00
2023-04-10 22:49:15 -05:00
2022-11-27 10:14:35 -06:00
2024-11-26 16:38:40 -06:00
2024-06-10 21:29:03 -05:00
2024-10-22 06:37:40 -05:00
2025-10-14 13:56:59 -05:00
2018-09-09 23:36:17 +12:00