Integrated Dynamics

Integrated Dynamics

63M Downloads

Why do the variable ids need to be unique

EmergencyTemporalShift opened this issue · 2 comments

commented

Issue type:

  • ❓ Question

Question:

Some very simple testing on a throwaway world shows that copied variables still function in writers. This may be a more technical question but why do variables need (or should they) have unique ids? I feel like the evaluation tree would remain consistent even if you had duplicates.

commented

Someone will answer your question soon. In the meantime, you might be able to get help more quickly on our Discord server.

commented

Indeed, duplicate variable id's for variables that are only used for writing shouldn't be a problem.

The problem only occurs for variables that are used as input to other operator-based variables, as the network would have to choose between multiple variables with equal id's during input argument resolution.