Is the access of elements within a stream given a key indexed in any way?

+1 vote
In the worse case, would we need to scan through all the elements of a stream to find the relevant item?
related to an answer for: Time complexity of API calls
asked May 16, 2018 by maracujah

1 Answer

0 votes
Yes, it's completely indexed. All the stream retrieval APIs have proper indexes supporting them, and they never do some kind of full scan.
answered May 16, 2018 by MultiChain