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

m
(Added Algol W)
m (→‎{{header|Wren}}: Minor tidy)
 
Line 2,165:
 
Ratios are noticeably less than the Go example (more in keeping with the REXX results in the talk page) and vary more if the script is run a few times. Frankly, I don't know why this is.
<syntaxhighlight lang="ecmascriptwren">import "./fmt" for Fmt
import "random" for Random
 
9,485

edits