Commit 5e4aa28
committed
buffer: avoid materializing ArrayBuffer for creation
Do not create an `ArrayBuffer` if the engine’s settings avoid it
and we don’t need it.
PR-URL: #26301
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 9b4eec0 commit 5e4aa28Copy full SHA for 5e4aa28
File tree
Expand file treeCollapse file tree
1 file changed
+2
-6
lines changedOpen diff view settings
Filter options
- lib
Expand file treeCollapse file tree
1 file changed
+2
-6
lines changedOpen diff view settings
Collapse file
+2-6Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
106 | 106 | |
107 | 107 | |
108 | 108 | |
109 | | - |
110 | | - |
111 | | - |
112 | | - |
113 | 109 | |
114 | 110 | |
115 | | - |
| 111 | + |
116 | 112 | |
117 | 113 | |
118 | 114 | |
119 | 115 | |
120 | 116 | |
121 | 117 | |
122 | 118 | |
123 | | - |
| 119 | + |
124 | 120 | |
125 | 121 | |
126 | 122 | |
|
0 commit comments