Talk:Sorting algorithms/Cocktail sort with shifting bounds: Difference between revisions

m
added highlighting.
m (added clarification about the indentical set of random integers.)
m (added highlighting.)
 
(One intermediate revision by the same user not shown)
Line 2:
 
I did some timings   (using the '''REXX''' program entries)  
for the Rosetta Code   ''cocktail sort''   task versus
 
the   ''cocktail sort with shifting bounds''   task.
::::::: ''cocktail sort task''
:::::::: <small> versus the </small>
the &nbsp;::::::: ''cocktail sort with shifting bounds task'' &nbsp; task.
 
 
Line 32 ⟶ 35:
 
 
For any amount of &nbsp; '''N''' &nbsp; integers <u>already &nbsp;in &nbsp;order</u>, &nbsp;
the timings were identical, &nbsp; and for the most part, &nbsp; the
times used by both sort versions weren't notable.