The Little Things: The Missing Performance in std::vectorcodingnest.comcross-posted to: cpp@programming.dev Marek Knápek ( @MarekKnapek@programming.dev ) Programming@programming.dev • 10 months ago message-square11fedilinkarrow-up142
arrow-up142external-linkThe Little Things: The Missing Performance in std::vectorcodingnest.com Marek Knápek ( @MarekKnapek@programming.dev ) Programming@programming.dev • 10 months ago message-square11fedilinkcross-posted to: cpp@programming.dev
minus-square kornel ( @kornel@programming.dev ) linkfedilink3•10 months agoOnly signed overflow. size_t is unsigned.
minus-square robinm ( @robinm@programming.dev ) linkfedilink1•edit-210 months agoThat’s totally right but I thought you were talking about signed numbers since you said “integer overflow”. I forgot that len is usually unsigned in C++.
Only signed overflow. size_t is unsigned.
That’s totally right but I thought you were talking about signed numbers since you said “integer overflow”. I forgot that
len
is usually unsigned in C++.