summary refs log tree commit diff stats
path: root/lib/system/nimscript.nim
diff options
context:
space:
mode:
authorBrent Pedersen <bpederse@gmail.com>2017-12-07 12:25:39 -0700
committerVarriount <Varriount@users.noreply.github.com>2017-12-07 14:25:39 -0500
commite016c9253e7b02ad4781452067dad980c677f61e (patch)
tree917b5c738fa4f461fc55e1a9124c8f711957bbb6 /lib/system/nimscript.nim
parentc7ba4d91a34882e94969595ba70763f9f642423c (diff)
downloadNim-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/system/nimscript.nim')
0 files changed, 0 insertions, 0 deletions
revision' href='/akspecs/ranger/blame/doc/pydoc/ranger.gui.widgets.console_mode.html?h=v1.7.0&id=0cfc59d6028c6b43e1dc323b94c84a8157db1859'>^
62cd83ba ^



b3556b21 ^
62cd83ba ^






4c13e1f2 ^
























1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50