Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make primary field target adapter return early.
When there is no primary field, do not go through all fields. First compare the field name, then the permission: comparing two strings is cheaper. If the field name matches, stop iterating over other fields: you have already found the field.
- Loading branch information