Sfoglia il codice sorgente

explain reason to use reflect2

Tao Wen 7 anni fa
parent
commit
a6a3b92edf
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      README.md

+ 3 - 1
README.md

@@ -12,4 +12,6 @@ reflect api that avoids runtime reflect.Value cost
 * reflect get/set interface{}, with type checking
 * reflect get/set unsafe.Pointer, without type checking
 
-[json-iterator](https://github.com/json-iterator/go) use this package to save runtime dispatching cost.
+[json-iterator](https://github.com/json-iterator/go) use this package to save runtime dispatching cost.
+This package is designed for low level libraries to optimize reflection performance.
+General application should still use reflect standard library.