3 ms·
> "in C++26 vector::operator[] will be checked" Every major project in that cares about perf and binary size would disable the option that compiler vendors wou
by TuxSH 2y ago
> "in C++26 vector::operator[] will be checked"
Every major project in that cares about perf and binary size would disable the option that compiler vendors would obviously provide, like -fno-exceptions.
Rust memory and type system offer stronger guarantees, leading to better optimization of bound checks, AFAIK.
There are more glaring issues to fix, like std::regex performance and so on.