Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Bulk Data Structures C++. Parent comment
If you need to copy only every N-th byte from a AoS it might be as inefficient as random access. So, copying could be expensive.
The article suggests striping your data in blocks but then you end up with the worst of both worlds in terms of program code complexity.
There are no comments on this comment yet.
If you need to copy only every N-th byte from a AoS it might be as inefficient as random access. So, copying could be expensive.
The article suggests striping your data in blocks but then you end up with the worst of both worlds in terms of program code complexity.