array[index] vs array.pop()28 ops/sec
28 ops/sec
29 ops/sec
28 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| array[index] | |
| array.pop() |
| Test name | Executions per second |
|---|---|
| ✓ array[index] | 43 Ops/sec |
| array.pop() | 42 Ops/sec |