←back to thread

163 points mariuz | 1 comments | | HN request time: 0s | source
Show context
spockz ◴[] No.43618106[source]
Besides the memory savings, would there also be performance gains? More actors would now fit in a cache line.
replies(2): >>43618116 #>>43619116 #
1. cma ◴[] No.43618116[source]
The actors in unreal are such bloated single inheritance god classes that with a few actor components they take up more like a 4K memory page not part of a cache line, especially in editor builds.

But they do have a more optimized entity component system now too.

To be fair, a single transform now that things are 64 bit coordinates I think is bigger than a cache line too.