External sort: Difference between revisions
m
→{{header|Wren}}: Minor tidy
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
m (→{{header|Wren}}: Minor tidy) |
||
Line 1,336:
{{libheader|Wren-str}}
A bit simpler than the Go version as we use fixed length integers which (together with a following space) can be sorted as strings.
<syntaxhighlight lang="
import "random" for Random
import "./dynamic" for Struct
import "./sort" for Sort
import "./str" for Str
var MinHeapNode = Struct.create("MinHeapNode", ["element", "index"])
|