ringabout
8914baae78
fixes #25007 ; implements setLenUninit for refc ( #25022 )
...
fixes #25007
```nim
proc setLengthSeqUninit(s: PGenericSeq, typ: PNimType, newLen: int, isTrivial: bool): PGenericSeq {.
compilerRtl.} =
```
In this added function, only the line `zeroMem(dataPointer(result,
elemAlign, elemSize, newLen), (result.len-%newLen) *% elemSize)` is
removed from `proc setLengthSeqV2` when enlarging a sequence.
JS and VM versions simply use `setLen`.
(cherry picked from commit 611b8bbf67 )
2025-11-21 13:28:13 +01:00
..
2023-09-09 21:11:45 +02:00
2025-11-07 12:33:33 +01:00
2025-09-22 08:47:08 +02:00
2025-09-17 09:04:16 +02:00
2024-09-17 21:28:54 +02:00
2023-04-04 12:18:43 +02:00
2017-01-31 13:08:47 +01:00
2022-09-28 15:28:45 -04:00
2022-12-01 13:34:00 +01:00
2025-09-17 09:04:16 +02:00
2025-09-17 09:04:16 +02:00
2025-05-19 17:48:22 +02:00
2023-10-11 17:44:14 +02:00
2025-09-17 09:04:16 +02:00
2025-01-14 13:23:18 +01:00
2024-07-26 20:45:52 +02:00
2025-11-05 11:33:32 +01:00
2021-05-01 11:10:40 +02:00
2022-04-07 17:38:01 -04:00
2025-06-27 13:44:07 +02:00
2025-06-18 16:14:44 +02:00
2025-01-14 13:12:39 +01:00
2025-04-14 10:52:35 +02:00
2025-01-14 07:33:01 +01:00
2025-10-28 13:50:59 +01:00
2022-09-28 15:28:45 -04:00
2025-10-28 13:50:59 +01:00
2023-11-06 07:57:29 +01:00
2022-08-24 13:38:30 +02:00
2023-03-22 22:05:20 +01:00
2022-11-05 10:58:57 +01:00
2025-06-18 16:14:44 +02:00
2025-09-17 09:04:16 +02:00
2025-09-17 09:04:16 +02:00
2025-09-17 09:04:16 +02:00
2024-08-28 20:46:36 +02:00
2025-03-25 09:43:44 +01:00
2021-08-13 09:35:48 +02:00
2024-08-01 12:27:10 +08:00
2025-01-14 13:12:39 +01:00
2023-10-11 17:18:54 +02:00
2023-11-04 08:52:30 +01:00
2025-11-08 16:40:36 +01:00
2025-09-17 09:04:16 +02:00
2023-10-11 17:44:14 +02:00
2025-09-22 08:47:08 +02:00
2025-03-25 09:43:51 +01:00
2024-08-11 10:35:09 +08:00
2025-09-17 09:04:16 +02:00
2023-08-08 05:55:18 -04:00
2022-12-01 12:48:47 +08:00
2022-10-11 09:17:09 +02:00
2025-09-17 09:04:16 +02:00
2025-01-14 09:08:40 +01:00
2021-08-13 09:35:48 +02:00
2025-04-14 10:52:35 +02:00
2024-02-20 07:28:45 +01:00
2024-07-26 20:45:52 +02:00
2020-10-19 14:50:06 +02:00
2025-11-21 13:28:13 +01:00
2023-04-17 20:55:22 +02:00
2023-08-15 23:31:44 +02:00
2022-10-11 09:17:09 +02:00
2025-09-22 08:48:48 +02:00
2025-03-03 14:03:17 +01:00
2025-11-21 13:28:13 +01:00
2025-06-06 08:33:07 +02:00
2023-07-31 10:58:59 +02:00
2025-01-14 13:12:39 +01:00
2020-01-30 10:54:50 +01:00