|
|
|
|
|
by chrsig
1640 days ago
|
|
That's a great insight. I wonder if it'd be practical to defer them until after the causal operation was complete say translating all positions, then calling all of the triggers for the positions component. that'd keep everything in tight single purpose loops and preserve cache lines. fair enough that it'd probably make execution order harder to predict, but also in theory it would be in the realm of possibility to generate a plan and print out the order that things would happen in. (I'm not positing that this is actually worth doing or that the pros out weigh the cons -- just toying with the idea) |
|
The thing with the actual gameplay layer is your often processing mainly heterogeneous elements rather than homogeneous so all the worry and focus on cache is largely academic for most kinds of game.