alle opties
buster  ] [  bullseye  ] [  bullseye-backports  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Bron: golang-github-modern-go-reflect2  ]

Pakket: golang-github-modern-go-reflect2-dev (1.0.2-2)

Verwijzigingen voor golang-github-modern-go-reflect2-dev

Screenshot

Debian bronnen:

Het bronpakket golang-github-modern-go-reflect2 downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

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.

golang-github-modern-go-reflect2-dev downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 10,6 kB71,0 kB [overzicht]