move to root path

This commit is contained in:
Roy Crihfield 2020-09-06 12:59:32 -05:00
parent fb1768b7a9
commit c6a1534e7f
2 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ func (gen *prefixGenerator) Next() {
} }
} }
// Generates paths that cut trie domain into "nbins" uniform conterminous bins (w/ opt. prefix) // Generates paths that cut trie domain into `nbins` uniform conterminous bins (w/ opt. prefix)
// eg. MakePaths([], 2) => [[0] [8]] // eg. MakePaths([], 2) => [[0] [8]]
// MakePaths([4], 32) => [[4 0 0] [4 0 8] [4 1 0]... [4 f 8]] // MakePaths([4], 32) => [[4 0 0] [4 0 8] [4 1 0]... [4 f 8]]
func MakePaths(prefix []byte, nbins uint) [][]byte { func MakePaths(prefix []byte, nbins uint) [][]byte {