Skip to content

Commit c076be7

Browse files
committed
Add comment about iteration complexity
1 parent 1f3a041 commit c076be7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DataFormats/Common/interface/MultiSpan.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ namespace edm {
2121
* or merging them into a single container.
2222
*
2323
* To find a span that corresponds to a global index, a binary search is used, making the access time logarithmic in the number of spans.
24+
* This means when iterating over the elements the binary search over spans is repeated for every element.
2425
*
2526
*/
2627
template <typename T>

0 commit comments

Comments
 (0)