diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2022-07-26 22:51:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 16:51:01 +0200 |
commit | 4c46358db1c11b7c4772431ad5e158ab00a7f4fc (patch) | |
tree | 1eea5f2514f2eb545e909616dda842001248f44d /changelog.md | |
parent | 1c39af3389b2251eb93b2f8e77911078cb7d5679 (diff) | |
download | Nim-4c46358db1c11b7c4772431ad5e158ab00a7f4fc.tar.gz |
remove shallowCopy for ARC/ORC (#20070)
* remove shallowCopy for ARC/ORC * use move * fix * more fixes * typo * Update lib/system.nim * follow * add nodestroy * move * copy string * add a changelog entry Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changelog.md b/changelog.md index fd8878ada..580db2cd0 100644 --- a/changelog.md +++ b/changelog.md @@ -25,6 +25,9 @@ or define your own `Math.trunc` polyfill using the [`emit` pragma](https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-emit-pragma). Nim uses `Math.trunc` for the division and modulo operators for integers. +- `shallowCopy` is removed for ARC/ORC. Use `move` when possible or combine assignment and +`sink` for optimization purposes. + ## Standard library additions and changes [//]: # "Changes:" |