Repository navigation
Cache
#38
Replies: 1 comment
|
Further discussion here: https://discord.com/channels/1351956875717120124/1389724507371208744 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Does the entire cache need to be invalidated each time a component is added/removed from an entity? It seems like you could invalidate a couple of entries in the dictionary for the old composition of the entity and the new composition, or just even remove the entity from the old composition and add it to the new one. You could apply this same logic to the other portions of your code which invalidate the whole cache like adding/removing entities in general etc.
All reactions