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

Improve record matching #2

Open
hugoatjoget opened this issue Apr 28, 2023 · 0 comments
Open

Improve record matching #2

hugoatjoget opened this issue Apr 28, 2023 · 0 comments

Comments

@hugoatjoget
Copy link
Contributor

We seem to be running 2 loops, and the second loop run in full until record matches. I think we should try to use HashMap.containsKey() to improve performance.

The java.util.HashMap.containsKey() method is used to check whether a particular key is being mapped into the HashMap or not. It takes the key element as a parameter and returns True if that element is mapped in the map.

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