Skip to content

Commit 26f47b1

Browse files
committed
Watermarks slightly different for debug vs release
1 parent 3cb9e4d commit 26f47b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

std/algorithm/sorting.d

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,8 @@ unittest
17641764

17651765
// This should get smaller with time. On occasion it may go larger, but only
17661766
// if there's thorough justification.
1767-
enum uint watermark = 1676220;
1767+
debug enum uint watermark = 1676280;
1768+
else enum uint watermark = 1676220;
17681769

17691770
import std.conv;
17701771
assert(comps <= watermark, text("You seem to have pessimized sort! ",

0 commit comments

Comments
 (0)