mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
提升引擎性能-替换json标准库为iterator/go库
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
package rpc
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
"sync"
|
||||
)
|
||||
|
||||
var json = jsoniter.ConfigCompatibleWithStandardLibrary
|
||||
|
||||
type JsonProcessor struct {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user