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

Rather than walking the entire object to get all keys up front, consider implementing the search logic using a generator function, where each yield returns a [key, value] entry (similar to Object.entries()). This will allow callers to control how many results they get and at what velocity. (E.g. if caller only needs the first result, there's no reason to crawl the whole object. E.g. if caller wants to paginate results or pause scanning while waiting for user input or whatever). 'Will be a much more useful and performant. #14

Closed
Tracked by #9
wise-introvert opened this issue Jan 22, 2023 · 0 comments

Comments

@wise-introvert
Copy link
Owner

No description provided.

@wise-introvert wise-introvert closed this as not planned Won't fix, can't repro, duplicate, stale Mar 31, 2023
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