Remove unnecessary comment

This commit is contained in:
Masaaki Goshima 2021-02-11 22:17:18 +09:00
parent f8c7c7a612
commit f5d4fc66a3
1 changed files with 0 additions and 1 deletions

View File

@ -114,7 +114,6 @@ func (d *structDecoder) tryOptimize() {
// it is possible to avoid the process of comparing the index of the key with the length of the bitmap each time. // it is possible to avoid the process of comparing the index of the key with the length of the bitmap each time.
bitmapLen := maxKeyLen + 1 bitmapLen := maxKeyLen + 1
if len(sortedKeys) <= 8 { if len(sortedKeys) <= 8 {
// maxKeyLen
keyBitmap := make([][256]int8, bitmapLen) keyBitmap := make([][256]int8, bitmapLen)
for i, key := range sortedKeys { for i, key := range sortedKeys {
for j := 0; j < len(key); j++ { for j := 0; j < len(key); j++ {