Re: Go patch committed: drop size arguments to hash/equal functions

2017-01-11 Thread Ian Lance Taylor
On Tue, Jan 10, 2017 at 11:45 AM, Rainer Orth wrote: > >> Drop the size arguments for the hash/equal functions stored in type >> descriptors. Types know what size they are. To make this work, >> generate hash/equal functions for types that can use an identity >> comparison but are not a standard

Re: Go patch committed: drop size arguments to hash/equal functions

2017-01-10 Thread Rainer Orth
Hi Ian, > Drop the size arguments for the hash/equal functions stored in type > descriptors. Types know what size they are. To make this work, > generate hash/equal functions for types that can use an identity > comparison but are not a standard size and alignment. > > Drop the multiplications b

Go patch committed: drop size arguments to hash/equal functions

2017-01-09 Thread Ian Lance Taylor
Drop the size arguments for the hash/equal functions stored in type descriptors. Types know what size they are. To make this work, generate hash/equal functions for types that can use an identity comparison but are not a standard size and alignment. Drop the multiplications by 33 in the generate