Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concurrent Objects check efficiency #5

Closed
Alchyr opened this issue Feb 18, 2020 · 1 comment
Closed

Concurrent Objects check efficiency #5

Alchyr opened this issue Feb 18, 2020 · 1 comment

Comments

@Alchyr
Copy link

Alchyr commented Feb 18, 2020

Currently, it iterates through all objects except those that have already been checked. It could be made more efficient by moving to the next object as soon as it reaches an object more than 10 ms past the current one (assuming objects are sorted).

@Naxesss
Copy link
Owner

Naxesss commented Feb 18, 2020

Good catch, also ended up using the actual arrays instead of first placing them into lists and then performing except for each iteration; makes things a bit more space efficient as well.

Naxesss added a commit that referenced this issue Feb 20, 2020
Same issue and solution as for #5.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants