Skip to content

Commit 78760de

Browse files
author
fengluo
committed
refine comment [skip azp] [skip actions] [skip cirrus]
1 parent a9becc4 commit 78760de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

numpy/_core/src/umath/string_fastsearch.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
algorithm, which has worst-case O(n) runtime and best-case O(n/k).
3030
Also compute a table of shifts to achieve O(n/k) in more cases,
3131
and often (data dependent) deduce larger shifts than pure C&P can
32-
deduce.*/
32+
deduce. See https://github.com/python/cpython/blob/main/Objects/stringlib/stringlib_find_two_way_notes.txt
33+
in the CPython repository for a detailed explanation.*/
3334

3435
/**
3536
* @internal

0 commit comments

Comments
 (0)