directly set vs push values vs buf2hex() vs precomputed ASCII with shift vs array prototype map| Test case name | Result |
|---|---|
| directly set | |
| push values | |
| buf2hex() | |
| precomputed ASCII with shift | |
| array prototype map |
| Test name | Executions per second |
|---|---|
| ✓ push values | 3,310,312 Ops/sec |
| directly set | 2,491,597 Ops/sec |
| buf2hex() | 1,640,268 Ops/sec |
| array prototype map | 1,204,383 Ops/sec |
| precomputed ASCII with shift | 861,354 Ops/sec |