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

Implement Binary Search #6

Open
woodsmc opened this issue Nov 14, 2020 · 0 comments
Open

Implement Binary Search #6

woodsmc opened this issue Nov 14, 2020 · 0 comments

Comments

@woodsmc
Copy link
Owner

woodsmc commented Nov 14, 2020

The current file requires a sequential search to find an object. The original design constraint was to support ~ 60 objects, so this sequential search isn't catastrophically slow... assuming you are not constantly looping over objects. But it is a pain. We should implement a binary search for object IDs and their entry in the initial table.

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

1 participant