Skip to content
Sections
>> Trisquel >> Balíky >> nabia >> devel >> golang-github-modern-go-reflect2-dev
nabia  ] [  aramo  ]

Balík: golang-github-modern-go-reflect2-dev (1.0.0-1)

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.

Ostatné balíky súvisiace s balíkom golang-github-modern-go-reflect2-dev

  • závisí
  • odporúča
  • navrhuje

Stiahnuť golang-github-modern-go-reflect2-dev

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 14.1 kB118 kB [zoznam súborov]