Files
Nim/lib/system
Zoom dc1c3ed90e std: sysstr cleanup, add docs (#25180)
- Removed redundant `len` and `reserved` sets already performed by prior
`rawNewStringNoInit` calls.
- Reuse `appendChar`
- Removed never used `newOwnedString`
- Added internal `toOwnedCopy`
- Documents differences in impls of internal procs used for
`system.string.setLen`:
  + `strs_v2.setLengthStrV2`:
    - does not set the terminating zero byte when new length is 0
    - does not handle negative new length
  + `sysstr.setLengthStr`:
    - sets the terminating zero byte when new length is 0
    - bounds negative new length to 0

(cherry picked from commit b539adf829)
2025-11-21 15:13:51 +01:00
..
2025-11-07 12:33:33 +01:00
2025-05-19 17:48:22 +02:00
2025-11-05 11:33:32 +01:00
2025-10-28 13:50:59 +01:00
2025-10-28 13:50:59 +01:00
2023-11-06 07:57:29 +01:00
2024-08-11 10:35:09 +08:00
2020-01-30 10:54:50 +01:00