Commit 44ee33f
buffer: refactor create buffer
Use createBuffer to reduce new Uint8Array()
and setPrototypeOf.
PR-URL: #4340
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>1 parent 901172a commit 44ee33fCopy full SHA for 44ee33f
File tree
Expand file treeCollapse file tree
1 file changed
+9
-11
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+9
-11
lines changedOpen diff view settings
Collapse file
+9-11Lines changed: 9 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
22 | 27 | |
23 | 28 | |
24 | 29 | |
25 | 30 | |
26 | 31 | |
27 | | - |
28 | | - |
| 32 | + |
29 | 33 | |
30 | 34 | |
31 | 35 | |
| ||
67 | 71 | |
68 | 72 | |
69 | 73 | |
70 | | - |
71 | | - |
72 | | - |
| 74 | + |
73 | 75 | |
74 | 76 | |
75 | 77 | |
| ||
78 | 80 | |
79 | 81 | |
80 | 82 | |
81 | | - |
82 | | - |
83 | | - |
| 83 | + |
84 | 84 | |
85 | 85 | |
86 | 86 | |
| ||
95 | 95 | |
96 | 96 | |
97 | 97 | |
98 | | - |
99 | | - |
100 | | - |
| 98 | + |
101 | 99 | |
102 | 100 | |
103 | 101 | |
|
0 commit comments