Parallelize

This commit is contained in:
Ian Gulliver
2023-12-29 22:02:07 -07:00
parent 37bc9cbae1
commit 855b15ad29
2 changed files with 23 additions and 9 deletions

View File

@@ -4,7 +4,6 @@ import (
"fmt"
"maps"
"slices"
"sort"
"strings"
)
@@ -78,8 +77,6 @@ func (h Heap) String() string {
strs = append(strs, fmt.Sprintf("{%#U}=%d", node.symbol, node.count))
}
sort.Strings(strs)
return strings.Join(strs, ", ")
}