• Russ Cox's avatar
    runtime: prep for type-specific algorithms · b9ccd077
    Russ Cox authored
    Equality on structs will require arbitrary code for type equality,
    so change algorithm in type data from uint8 to table pointer.
    In the process, trim top-level map structure from
    104/80 bytes (64-bit/32-bit) to 24/12.
    
    Equality on structs will require being able to call code generated
    by the Go compiler, and C code has no way to access Go return
    values, so change the hash and equal algorithm functions to take
    a pointer to a result instead of returning the result.
    
    R=ken
    CC=golang-dev
    https://golang.org/cl/5453043
    b9ccd077
Name
Last commit
Last update
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
cc Loading commit data...
cgo Loading commit data...
cov Loading commit data...
gc Loading commit data...
go Loading commit data...
godoc Loading commit data...
gofix Loading commit data...
gofmt Loading commit data...
goinstall Loading commit data...
gomake Loading commit data...
gopack Loading commit data...
gotest Loading commit data...
govet Loading commit data...
goyacc Loading commit data...
hgpatch Loading commit data...
ld Loading commit data...
nm Loading commit data...
prof Loading commit data...
Makefile Loading commit data...