4 ms·
Bounds checking slices makes code around 1% slower. It's worth it, but not free.
by Scaevolus 10y ago
Bounds checking slices makes code around 1% slower. It's worth it, but not free.
- Manishearth 10y agoI mean, that was the fix in this situation too, anyway. "free" depends on what you're comparing it to.