diff options
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/hashmap_fast.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/hashmap_fast.go b/src/runtime/hashmap_fast.go index ebba001d46..1f9b313219 100644 --- a/src/runtime/hashmap_fast.go +++ b/src/runtime/hashmap_fast.go @@ -252,8 +252,6 @@ func mapaccess1_faststr(t *maptype, h *hmap, ky string) unsafe.Pointer { return add(unsafe.Pointer(b), dataOffset+bucketCnt*2*sys.PtrSize+i*uintptr(t.valuesize)) } // check first 4 bytes - // TODO: on amd64/386 at least, make this compile to one 4-byte comparison instead of - // four 1-byte comparisons. if *((*[4]byte)(key.str)) != *((*[4]byte)(k.str)) { continue } |
