Thread
:
Sorting algorithms problem.......
View Single Post
Apr 18th, 2006, 4:12 PM
#
3
Dietrich
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power:
4
One more thing, don't even attempt to display an array/list of 100,000 elements on your console, that will take forever!!!
Just to test if it's sorted limit it to maybe the first 100 elements with this little trick:
(
Toggle Plain Text
)
print num_array[:100]
print num_array[:100]
__________________
I looked it up on the Intergnats!
Dietrich
View Public Profile
Find More Posts by Dietrich