Toot

Written by Urix Turing on 2024-11-18 at 09:46

For as long as I can remember, in C and C++ there existed this mantra that bounds checking had a huge performance impact. And that justified having none in std::vector and other containers, causing 40% of the memory bugs. Then the good people at Google went and did it and the performance impact was just 0.3%.

@chandlerc talks about that misconception here: https://chandlerc.blog/posts/2024/11/story-time-bounds-checking/

=> More informations about this toot | View the thread | More toots from urixturing@hachyderm.io

Mentions

=> View chandlerc@hachyderm.io profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113503316495273633
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
222.643254 milliseconds
Gemini-to-HTML Time
0.396864 milliseconds

This content has been proxied by September (3851b).