Skip to content

Commit 0d8a616

Browse files
CaedenPHcclauss
andauthored
Update matrix/count_negative_numbers_in_sorted_matrix.py
Co-authored-by: Christian Clauss <[email protected]>
1 parent a55db73 commit 0d8a616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: matrix/count_negative_numbers_in_sorted_matrix.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def benchmark() -> None:
151151
"count_negatives_brute_force_with_break", # 271.04 seconds
152152
"count_negatives_brute_force", # 646.65 seconds
153153
):
154-
time = timeit(f"{func}(generate_large_matrix())", setup=setup, number=5000)
154+
time = timeit(f"{func}(grid=grid)", setup=setup, number=500)
155155
print(f"{func}() took {time} seconds")
156156

157157

0 commit comments

Comments
 (0)