Functions to use Iterators as Source#29
Conversation
|
Why? |
|
The current implementation only allows to fuzzy search index-able data structures. However, it does not need random access. It iterates the Source from start to finish -> natural fit for In my particular case I have a |
Understood and your point is valid but now the API is stable. Does |
Well it would certainly work however I want to avoid unnecessary allocations/iteration but My proposal does not change the interface, it just adds two new functions. The API/behavior of the existing functions remains unchanged though. |
Agreed. Merging. Thanks. |
This PR adds two new functions:
FindFromIterNoSortandFindFromIter. They provide the same functionality as the other FindFrom functions but accept aiter.Seq[string]instead ofSource.