Commit 539ada6
committed
use ArrayBuffer->Data() when available
This is faster than accessing the BackingStore.
API is available in V8 10.5+ per nodejs/node#32226 (comment).
It was backported to Node.js v18.8.0 in nodejs/node@a0c5783,
but Node.js minor versions can't be used as the basis for feature support.1 parent 675cefe commit 539ada6
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | | - | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
0 commit comments