DataView vs Uint8Array by byte vs Uint8Array with set vs Uint8Array with set other Uint8Array vs DataView loop| Test case name | Result |
|---|---|
| DataView | |
| Uint8Array by byte | |
| Uint8Array with set | |
| Uint8Array with set other Uint8Array | |
| DataView loop |
| Test name | Executions per second |
|---|---|
| ✓ DataView | 160,207,744 Ops/sec |
| Uint8Array by byte | 130,148,992 Ops/sec |
| Uint8Array with set other Uint8Array | 2,512,724 Ops/sec |
| DataView loop | 786,490 Ops/sec |
| Uint8Array with set | 130,856 Ops/sec |