Commit 8dfda23
committed
perf: avoid some more pointer traversals
Supposedly another 0.5% improvement (in CPU time and wall time):
Summary of cpu time and (wall time):
best avg sd +/- p (best) (avg) (sd) +/- p
pathological 0.20431 0.21386 0.07042 [-0.0%] (0.20430) (0.21387) (0.07068) [-0.1%]
command-t 0.15179 0.15869 0.05864 [-0.2%] (0.15179) (0.15869) (0.05864) [-0.2%]
chromium (subset) 1.17116 1.18059 0.02638 [-0.1%] (0.26531) (0.26952) (0.01104) [-0.4%] 0.05
chromium (whole) 0.90236 0.90775 0.02628 [-1.0%] 0.005 (0.09984) (0.10367) (0.01333) [-1.3%]
big (400k) 1.36681 1.37599 0.05667 [-0.7%] 0.005 (0.14929) (0.15182) (0.01614) [-1.0%] 0.005
total 3.80028 3.83688 0.13189 [-0.5%] 0.01 (0.87682) (0.89757) (0.11003) [-0.5%] 0.051 parent 8338f98 commit 8dfda23
1 file changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
135 | | - | |
136 | | - | |
137 | | - | |
| 137 | + | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| |||
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
161 | | - | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
225 | | - | |
226 | | - | |
227 | | - | |
| 226 | + | |
228 | 227 | | |
229 | 228 | | |
230 | 229 | | |
| |||
0 commit comments