diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-09-20 18:50:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-20 12:50:23 +0200 |
commit | d82bc0a29fea53a172260a3b3301b90a96974274 (patch) | |
tree | 153400133dbd85cbdba0d204a830564f23b0404f /lib/pure | |
parent | af617be67a4e038354617b272d373a6fbe583644 (diff) | |
download | Nim-d82bc0a29fea53a172260a3b3301b90a96974274.tar.gz |
items, pairs and friends now use `unCheckedInc` (#22729)
`{.push overflowChecks: off.}` works in backends. Though it could be implemented as a magic function. By inspecting the generated C code, the overflow check is eliminated in the debug or release mode. ![image](https://github.com/nim-lang/Nim/assets/43030857/49c3dbf4-675e-414a-b972-b91cf218c9f8) Likewise, the index checking is probably not needed.
Diffstat (limited to 'lib/pure')
0 files changed, 0 insertions, 0 deletions