Yi Duan
Yi Duan
https://github.com/json-iterator/go/blob/master/iter_object.go#L49 This function use a simple hash func to calculate one token's hash value (int64) which then is directly used to match one struct field directly without string check. But...
I see in the implementation of epoll.wait() and kqueue.wait() you use a iterative way to execute all the callbacks, why not use goroutines to concurrently execute them for more effitiency?...
Since JSON protocol is such popular today, `encoding/json` is being heavily used in all kinds of Go-based applications. However, we found it consumed a lot of computation resources in practice,...
#### What type of PR is this? feat #### Check the PR title. - [ ] This PR title match the format: \(optional scope): \ - [ ] The description...
### Discussed in https://github.com/cloudwego/kitex/discussions/1070 Originally posted by **AsterDY** August 14, 2023 `Protobuffer` provides an ability called [FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#google.protobuf.FieldMask) to serialize|deserialize message on demands. And Netflix has used it in practice to...
#### What type of PR is this? #### Check the PR title. - [ ] This PR title match the format: \(optional scope): \ - [ ] The description of...
## Reason Since [this place](https://github.com/bytedance/sonic/blob/main/internal/encoder/assembler_regabi_amd64.go#L1029) reference a pointer from the stack, once stackgrow happens after entering `encoderTypedPointer`, the pointer may be invalid and introduce potential NPE problem. ## Fix Malloc...
## reason - `*http.Request` has unsupported type fields like `GetBody func() (io.ReadCloser, error)`, but the passed obj is nil, thus `std` think it is a nil pointer and encode it...