less test time costs (#20479)

This commit is contained in:
Bung 2022-10-02 12:42:41 +08:00 • committed by GitHub
commit 0769b160c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 12 deletions

View file

@ -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