Don't use filepath.Walk for Query method.
filepath.Walk() sorts the names and calls lstat() on each entry, both of which are unnecessary when all we need are the key names in random order. For large datastores can improve the performance by about 50%.
Showing
Please register or sign in to comment