Preallocate typed vs Preallocate vanilla154,317 ops/sec
142,426 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Preallocate typed | |
| Preallocate vanilla |
| Test name | Executions per second |
|---|---|
| ✓ Preallocate vanilla | 84,844 Ops/sec |
| Preallocate typed | 83,341 Ops/sec |