Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> devel >> golang-github-modern-go-reflect2-dev
nabia  ] [  aramo  ]
[ 原始碼: golang-github-modern-go-reflect2  ]

套件: golang-github-modern-go-reflect2-dev (1.0.2-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.

下載 golang-github-modern-go-reflect2-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 10.6 kB69 kB [文件列表]