Commit 730865d2 authored by Damien George's avatar Damien George
Browse files

leon: Update CORE_STRESS/list_sort since amount of CPU cycles increased.

With peak stack usage enabled the sorting method takes more CPU cycles and
with a list of 2000 entries it needs more than is provided by the test
suite.
parent b6250556
# test large list sorting (should not stack overflow)
l = list(range(2000))
l = list(range(1800))
l.sort()
print(l[0], l[-1])
l.sort(reverse=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment