logoalt Hacker News

notatyrannosaurtoday at 2:36 PM2 repliesview on HN

> you can add fields to your 1M monsters with little impact.

Great for this access pattern, but I wouldn't make a general statement like that. This is the same thing as row-oriented vs column-oriented databases, OLTP vs OLAP. SoA is weak if you are adding/removing monsters more often than accessing a single "hot" field.


Replies

Altern4tiveAcctoday at 3:17 PM

> SoA is weak if you are adding/removing monsters more often than accessing a single "hot" field.

Why is that? Genuinely curious. Does "weak" mean that it performs worse than AoS, or that the gains aren't as significant versus AoS?

show 2 replies
keynhatoday at 3:20 PM

[dead]