less test time costs (#20479)
This commit is contained in:
parent
1737bb9f9e
commit
0769b160c5
3 changed files with 8 additions and 12 deletions
|
|
@ -1,9 +1,9 @@
|
|||
discard """
|
||||
output: '''
|
||||
312
|
||||
1000000
|
||||
1000000
|
||||
500000
|
||||
1000
|
||||
1000
|
||||
500
|
||||
0
|
||||
'''
|
||||
"""
|
||||
|
|
@ -445,7 +445,7 @@ proc test() =
|
|||
var it1 = internalFind(root, 312)
|
||||
echo it1.value
|
||||
|
||||
for i in 1..1_000_000:
|
||||
for i in 1..1_000:
|
||||
root = internalPut(root, i, i, oldvalue)
|
||||
|
||||
var cnt = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue