Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Designing a better strcpy. Parent comment
About the cache, I think for small strings, scanning the whole string may still be faster.
Though adding a four-byte length prefix would make certain functions like strlen almost go away.
There are no comments on this comment yet.
About the cache, I think for small strings, scanning the whole string may still be faster.
Though adding a four-byte length prefix would make certain functions like strlen almost go away.