diff options
author | Brent Pedersen <bpederse@gmail.com> | 2017-12-07 12:25:39 -0700 |
---|---|---|
committer | Varriount <Varriount@users.noreply.github.com> | 2017-12-07 14:25:39 -0500 |
commit | e016c9253e7b02ad4781452067dad980c677f61e (patch) | |
tree | 917b5c738fa4f461fc55e1a9124c8f711957bbb6 /lib/prelude.nim | |
parent | c7ba4d91a34882e94969595ba70763f9f642423c (diff) | |
download | Nim-e016c9253e7b02ad4781452067dad980c677f61e.tar.gz |
optimize setLen (#6816)
inline the call to setLengthSeq and avoid decref for types if ntfNoRefs closes #6721 and speeds setLen when newLen < len for non reference types.
Diffstat (limited to 'lib/prelude.nim')
0 files changed, 0 insertions, 0 deletions