alla flaggor
buster  ] [  bullseye  ] [  bullseye-backports  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: golang-github-modern-go-reflect2  ]

Paket: golang-github-modern-go-reflect2-dev (1.0.2-2~bpo11+1)

Länkar för golang-github-modern-go-reflect2-dev

Screenshot

Debianresurser:

Hämta källkodspaketet golang-github-modern-go-reflect2:

Ansvariga:

Externa resurser:

Liknande paket:

Reflection API without runtime reflect.Value cost

The reflect2 package provides a reflection API that avoids runtime reflect.Value cost:

 * reflect get/set interface{}, with type checking
 * reflect get/set unsafe.Pointer, without type checking
 * reflect2.TypeByName works like Class.forName found in Java

This package is designed for low level libraries to optimize reflection performance. General applications should still use the standard library reflect.

Hämta golang-github-modern-go-reflect2-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 10,7 kbyte71,0 kbyte [filförteckning]