]> Cypherpunks repositories - gostls13.git/commit
new reflect library data structures and code declarations
authorRuss Cox <rsc@golang.org>
Mon, 6 Jul 2009 22:34:04 +0000 (15:34 -0700)
committerRuss Cox <rsc@golang.org>
Mon, 6 Jul 2009 22:34:04 +0000 (15:34 -0700)
commit4793400bd1a58895075504e5f5fc87654a2c702c
treea17d0ecc498d52c6410458faee3d29c79a8a2ff0
parenteaf6a344b7af5cb81fd6dbfe196371c16f4dad42
new reflect library data structures and code declarations
  * use structs instead of interfaces
  * compiler lays out data structures ahead of time,
    so no more parsing of strings.
  * unified reflect data structures with interface
    runtime data structures.
  * richer data structures should enable reflection
    on chans and maps, but not implemented here.

R=r,iant
DELTA=1179  (1179 added, 0 deleted, 0 changed)
OCL=31107
CL=31213
src/pkg/reflect/ntype.go [new file with mode: 0644]
src/pkg/reflect/nvalue.go [new file with mode: 0644]
src/pkg/runtime/type.go [new file with mode: 0644]
src/pkg/runtime/type.h [new file with mode: 0644]