AoS and SoA - Wikipedia - eviltoast
  • rmam@programming.devOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    I found this article to be strangely interesting. Coming from object oriented programming, I tend to think about objects as independent, self-contained instances, even if they are ultimately stored in a container. However, once we take padding into account, the overhead of storing objects in an array can potentially become something worth to keep in mind.