2 ms·
See the discussion here: https://utcc.utoronto.ca/~cks/space/blog/programming/CNullStringsDefense https://utcc.utoronto.ca/~cks/space/blog/programming/CNullSt..
by rwmj 11y ago
See the discussion here: https://utcc.utoronto.ca/~cks/space/blog/programming/CNullStringsDefense https://utcc.utoronto.ca/~cks/space/blog/programming/CNullSt...
Also why store the length twice? The whole point of my article is that malloc already stores the length, you don't need to store it over again.
- goalieca 11y agoThe idea it worked for android was that you get cache locality.