reuvenlax commented on pull request #14852: URL: https://github.com/apache/beam/pull/14852#issuecomment-846585042
@anantdamle the time complexity of reading and iterating a bag is simply the size of the bag. However if you do that on every element as the bag grows the cost will be 1 + 2 + 3 + ... + n = O(n^2) I'm not sure I understand your use case.- are you trying to unroll the loop into the record? This might be better discussed on user@ or dev@ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
