瀏覽代碼

explain reason to use reflect2

Tao Wen 7 年之前
父節點
當前提交
a6a3b92edf
共有 1 個文件被更改,包括 3 次插入1 次删除
  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 interface{}, with type checking
 * reflect get/set unsafe.Pointer, without 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.