-
Notifications
You must be signed in to change notification settings - Fork 616
Early return in getDocumentsMatchingTarget #4272
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
Early return in getDocumentsMatchingTarget #4272
Conversation
Coverage Report 1Affected Products
Test Logs |
Size Report 1Affected Products
Test Logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getFieldIndex is actually a bit of an expensive function, and I'd rather not call it twice. We can either not change this code at all (it's a very minor difference from the iOS implementation). Or, you can do what you did in the iOS sdk: use List<Pair<Target,FieldIndex>>
#no-changelog