Re: [go-nuts] gob's interpreted machine

2017-06-04 Thread Ian Lance Taylor
On Sat, Jun 3, 2017 at 9:10 AM, Santhosh Ram Manohar wrote: > From https://blog.golang.org/gobs-of-data > > "The first time you encode a value of a given type, the gob package builds a > little interpreted machine specific to that data type. It uses reflection on > the type to construct that machi

[go-nuts] gob's interpreted machine

2017-06-03 Thread Santhosh Ram Manohar
>From https://blog.golang.org/gobs-of-data "The first time you encode a value of a given type, the gob package builds a little interpreted machine specific to that data type. It uses reflection on the type to construct that machine, but once the machine is built it does not depend on reflection