Skip to content

Commit 9ea6fa5

Browse files
committed
Remove outdated comment
1 parent 50b65d0 commit 9ea6fa5

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/nam.cpp

-19
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,6 @@ inline void add_to_matches_map_full(
3434
}
3535
}
3636

37-
/*
38-
This function often produces the same Match multiple times.
39-
This happens when multiple randstrobes involve a syncmer that has a low hash
40-
value (and which therefore gets chosen as main hash multiple times).
41-
42-
For example, assume we have syncmers starting at positions 14, 21, 39, 51
43-
and randstrobes like this:
44-
45-
14, 21, 39, 51
46-
14------39
47-
21--39
48-
39--51
49-
50-
If 39 now has the lowest hash value, it will be chosen as the main hash for all
51-
three randstrobes. Thus, when looking up that main hash, all three randstrobes
52-
are found. After the start coordinate of the randstrobe is converted to the
53-
start coordinate of the single syncmer (using strobe_extent_partial()), they all
54-
result in a hit that starts at 39 (and has length k).
55-
*/
5637
inline void add_to_matches_map_partial(
5738
robin_hood::unordered_map<unsigned int, std::vector<Match>>& matches_map,
5839
int query_start,

0 commit comments

Comments
 (0)