deepcopy
存放原deepcoppy v0.0.10版本的代码 (by antlabs)
gosercomp
:zap: Golang Serializer Benchmark Comparison (by smallnest)
deepcopy | gosercomp | |
---|---|---|
1 | 2 | |
1 | 408 | |
- | - | |
4.2 | 0.0 | |
2 months ago | over 1 year ago | |
Go | Go | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
deepcopy
Posts with mentions or reviews of deepcopy.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-21.
gosercomp
Posts with mentions or reviews of gosercomp.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-06.
-
Optimal dispatcher for json messages ?
Well, instead of using full GRPC, you could use ProtoBuf. Any "binary" protocol will be faster to parse than JSON, if performance is your biggest factor, you can find benchmarks comparing the different formats.
-
Is there an easy way to copy one struct's fields into another?
I like it because it's faster to parse than JSON, takes up less space than JSON, is dynamic, and you can use a generator to generate highly performant readers / writers for it. The library I recommended tinylib/msgp is one of the faster data serialization libraries in general ( https://github.com/smallnest/gosercomp ), and is well written and easy to use.
What are some alternatives?
When comparing deepcopy and gosercomp you can also consider the following projects:
thriftgo - An implementation of thrift compiler in go language.
sijsop - A simple JSON-based protocol for Go, easy to implement for other languages