Commit 35bca31
buffer: improve equals() performance
PR-URL: #29199
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>1 parent a123a20 commit 35bca31Copy full SHA for 35bca31
File tree
Expand file treeCollapse file tree
3 files changed
+28
-1
lines changedOpen diff view settings
Filter options
- benchmark/buffers
- lib
- test/benchmark
Expand file treeCollapse file tree
3 files changed
+28
-1
lines changedOpen diff view settings
Collapse file
benchmark/buffers/buffer-equals.js
Copy file name to clipboard+22Lines changed: 22 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 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
Collapse file
+5-1Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
716 | 716 | |
717 | 717 | |
718 | 718 | |
| 719 | + |
719 | 720 | |
720 | 721 | |
721 | 722 | |
722 | | - |
| 723 | + |
| 724 | + |
| 725 | + |
| 726 | + |
723 | 727 | |
724 | 728 | |
725 | 729 | |
|
Collapse file
test/benchmark/test-benchmark-buffer.js
Copy file name to clipboardExpand all lines: test/benchmark/test-benchmark-buffer.js+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
12 | 12 | |
13 | 13 | |
14 | 14 | |
| 15 | + |
15 | 16 | |
16 | 17 | |
17 | 18 | |
|
0 commit comments