summary refs log tree commit diff stats
path: root/tests/nimdoc/sub
diff options
context:
space:
mode:
authorlit <litlighilit@foxmail.com>2024-07-02 02:47:08 +0800
committerGitHub <noreply@github.com>2024-07-01 20:47:08 +0200
commita557e5a341edcba90a08b6bc07d1dd701ed29c81 (patch)
treebcab7c799362b9b66f6f83d6166632094e48d74a /tests/nimdoc/sub
parent27abcdd57f43fa905153f38afc7b10b990d789c9 (diff)
downloadNim-a557e5a341edcba90a08b6bc07d1dd701ed29c81.tar.gz
refine: strmisc.expandTabs better code structure (#23783)
After this pr, for a string with just 20 length and 6 `'\t'`, the time reduces by about 1.5%[^t].

Also, the code is clearer than the previous at some places.


[^t]: Generally speaking, this rate increases with length. I may test
for longer string later.
Diffstat (limited to 'tests/nimdoc/sub')
0 files changed, 0 insertions, 0 deletions
bmor/getwtxt/blame/cache.go?h=v0.4.9&id=bd23ef0959496aba4c6fc8ca2b3969bbf17aa9d5'>^
1a15258 ^
d6d0c18 ^




c896e6b ^

711012e ^

c896e6b ^

1a15258 ^
c896e6b ^

1a15258 ^

b961a70 ^
c896e6b ^

fdbc01d ^
c896e6b ^


c896e6b ^

c6ced3e ^




d6d0c18 ^
c38385c ^
c6ced3e ^
c896e6b ^

b961a70 ^
c896e6b ^
c6ced3e ^
c896e6b ^
d6d0c18 ^
c896e6b ^
8b6ab99 ^
c896e6b ^
55c8ffa ^
c896e6b ^
b961a70 ^
c896e6b ^

8b6ab99 ^
cd635e6 ^


c896e6b ^

2b0d4a5 ^




69217dd ^




2b0d4a5 ^
b961a70 ^
2b0d4a5 ^
25972a6 ^
69217dd ^
25972a6 ^
b961a70 ^
25972a6 ^





f316396 ^

25972a6 ^

2b0d4a5 ^
25972a6 ^



b961a70 ^
25972a6 ^
2b0d4a5 ^
25972a6 ^


2b0d4a5 ^
2b0d4a5 ^

69217dd ^
2b0d4a5 ^
b961a70 ^
2b0d4a5 ^





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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115