Files
Nim/tests/destructor
ringabout 33bef682dd fixes cast expressions introduces unnecessary copies (#24004)
It speeds up
```nim
proc foo =
  let piece = cast[seq[char]](newSeqUninit[uint8](5220600386'i64))

foo()
```

Notes that `cast[ref](...)` is excluded because we need to keep the ref
alive if the parameter is something with pointer types (e.g.
`cast[ref](pointer)`or `cast[ref](makePointer(...))`)

---------

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
(cherry picked from commit 4ef06a5cc5)
2024-09-13 13:43:53 +02:00
..
2021-03-09 22:50:17 -08:00
2022-10-01 16:46:51 +02:00
2020-01-20 10:41:12 +01:00
2020-09-25 08:49:21 +02:00
2022-10-01 16:46:51 +02:00
2019-03-04 22:44:23 +01:00
2019-11-29 19:46:21 +01:00
2020-05-02 22:31:19 +02:00
2019-07-07 17:17:14 +02:00
2020-11-09 19:24:32 +01:00
2020-04-01 20:30:28 +02:00
2020-06-28 17:47:47 +02:00
2020-03-10 00:52:46 +01:00
2020-07-09 17:24:23 +02:00
2023-06-02 16:03:32 +02:00
2021-03-23 16:30:49 +01:00
2019-04-25 07:59:34 +02:00
2019-05-27 21:29:02 +02:00
2022-07-06 13:06:41 +02:00
2020-03-17 16:36:38 +01:00