1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-24 23:16:47 +02:00

#59 add ConfigFastest

This commit is contained in:
Tao Wen
2017-06-17 10:21:37 +08:00
parent 69bc64b6d8
commit b31b1301e2
28 changed files with 187 additions and 183 deletions

View File

@ -16,7 +16,7 @@ func Test_bind_api_demo(t *testing.T) {
}
func Test_iterator_api_demo(t *testing.T) {
iter := ParseString(ConfigOfDefault, `[0,1,2,3]`)
iter := ParseString(ConfigDefault, `[0,1,2,3]`)
total := 0
for iter.ReadArray() {
total += iter.ReadInt()