forked from mirror/go-json
Remove unnecessary comment
This commit is contained in:
parent
f8c7c7a612
commit
f5d4fc66a3
|
@ -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++ {
|
||||||
|
|
Loading…
Reference in New Issue