Commit f441410
util: faster arrayToHash
The `util.format()` is used frequently, make the method faster
is better.
R-URL: #3964
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 9855fab commit f441410Copy full SHA for f441410
File tree
Expand file treeCollapse file tree
3 files changed
+21
-2
lines changedOpen diff view settings
Filter options
- benchmark/util
- lib
Expand file treeCollapse file tree
3 files changed
+21
-2
lines changedOpen diff view settings
Collapse file
+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
493 | 493 | |
494 | 494 | |
495 | 495 | |
| 496 | + |
| 497 | + |
| 498 | + |
496 | 499 | |
497 | 500 | |
498 | 501 | |
|
Collapse file
benchmark/util/inspect.js
Copy file name to clipboard+15Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
Collapse file
+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
163 | 163 | |
164 | 164 | |
165 | 165 | |
166 | | - |
| 166 | + |
| 167 | + |
167 | 168 | |
168 | | - |
| 169 | + |
169 | 170 | |
170 | 171 | |
171 | 172 | |
|
0 commit comments