Skip to content

Are there any performance implications to the spacing of entity IDs? #1050

Answered by skypjack
Net5F asked this question in Q&A
Discussion options

You must be logged in to vote

There is a subtle difference actually to make it possible to recycle identifiers without having to keep track of all holes in your set.
When generating identifier N, it triggers the generation of all non-existing identifiers with an entity id lower than its own, if any exist.
It's not a big deal since you're going to generate them all anyway sooner or later. Therefore, I don't think it will cause you any problems.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Net5F
Comment options

@skypjack
Comment options

@Net5F
Comment options

@skypjack
Comment options

@Net5F
Comment options

Answer selected by Net5F
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
discussion it sounds interesting, let's discuss it
2 participants