liu

Results 69 comments of liu

Currently, Sonic has implemented a fast string sorting algorithm in Golang, which can be ported to C language for further optimization of sorting time. The specific sorting algorithm can refer...

thanks, the code has lots of changes, and we will not need this

There are some ways to do it. For example, use a mock type, and change - to other tags if you doest not want to ignore it. ``` struct Foo{...

this case is not generic, you can use a marshaler/unmarshaler interface.

> [golang/go#45812](https://github.com/golang/go/issues/45812) It's really useful feature in GraphQL or FieldMask. Thank you for sharing, we will survey it~

Thank you. I think we can create a fieldmap that contains the mapping of each field's JSON tag name to its field name and its corresponding quoted field name when...

Encoder or decoder is mostly used for streaming or some specific configurations, such as decoder with `UseNumber`, or encoder with `SortKeys`. And there are no benefits to reusing an encoder...

> good to know that, I was about to use encoder for streaming io as mentioned in https://github.com/bytedance/sonic#streaming-io , no specific configuration, just http write response. is it recommended to...