Kir Kolyshkin
d316cbb362
Don't use append if not necessary
...
Calling append can lead to resizing the slice. In case we have all
elements beforehand, it is not necessary to call append in the first
place and this avoid resizing.
This is the first part of fixing issues reported by prealloc linter from
golangci-lint v2.8.0.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com >
2026-02-11 11:41:10 -08:00
..
2025-11-11 12:32:46 +01:00
2026-02-03 12:49:28 +01:00
2025-11-06 17:39:56 +01:00
2025-11-11 12:32:46 +01:00
2026-01-16 08:38:00 -05:00
2022-12-15 13:39:56 +01:00
2026-02-11 11:41:10 -08:00
2025-11-11 12:32:46 +01:00
2025-10-01 10:42:08 -04:00
2025-01-07 15:48:53 +01:00
2026-01-28 10:58:46 -06:00
2025-09-11 16:56:13 +08:00
2025-09-10 16:17:04 +02:00
2025-06-26 19:37:14 +02:00
2026-02-03 09:18:29 +05:30
2025-10-23 11:00:15 -04:00
2025-10-23 11:00:15 -04:00
2025-11-12 15:35:29 -05:00
2025-09-10 16:17:04 +02:00
2024-02-02 11:02:43 -05:00
2026-02-11 11:41:10 -08:00
2025-09-10 16:17:04 +02:00
2025-11-11 12:32:46 +01:00
2025-10-01 10:42:08 -04:00
2025-11-11 12:32:46 +01:00
2025-09-10 16:17:04 +02:00
2026-01-20 18:41:59 +01:00
2022-07-08 08:54:47 +02:00
2020-04-23 15:57:34 -04:00
2025-11-11 12:32:46 +01:00
2026-02-11 11:41:10 -08:00
2026-02-03 12:49:28 +01:00
2025-11-11 12:32:46 +01:00
2025-02-17 14:32:34 -05:00
2026-02-11 18:16:30 +01:00
2024-02-20 08:06:18 -05:00
2025-11-11 12:32:46 +01:00
2026-01-20 18:41:59 +01:00