4 ms·
Game developers have been doing this since forever, its one of their main reasons to avoid the STL. EASTL has this as a feature by default, and unreal engine c
by vblanco 2y ago
Game developers have been doing this since forever, its one of their main reasons to avoid the STL.
EASTL has this as a feature by default, and unreal engine container library has the boundchecks enabled on most games. The performance cost of those boundchecks in practice is well worth the reduction of bugs even on performance sensitive code.
- pjmlp 2y agoWhich is yet another reason to assert (pun intend), how far from reality the anti-bounds check folks are, when even the game industry takes them seriously.