This will help improve the performance by not requesting the network with certain provider implementations. For example, a provider will first find matches from local files and then from the remote server, all candidates are combined into a generator returned by find_matches(). So if the local candidates meet the requirement, we don't need to read the whole iterable.
File this issue just as an improvement idea. I will do some experiment to find out a solution for it.
This will help improve the performance by not requesting the network with certain provider implementations. For example, a provider will first find matches from local files and then from the remote server, all candidates are combined into a generator returned by
find_matches()
. So if the local candidates meet the requirement, we don't need to read the whole iterable.File this issue just as an improvement idea. I will do some experiment to find out a solution for it.