Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

和 protobuf-csharp-port 比较有改进吗? #1

Open
jinq0123 opened this issue Aug 14, 2020 · 1 comment
Open

和 protobuf-csharp-port 比较有改进吗? #1

jinq0123 opened this issue Aug 14, 2020 · 1 comment

Comments

@jinq0123
Copy link

protobuf-csharp-port DynamicMessage 比较,有什么改进吗?

@owent
Copy link
Member

owent commented Aug 15, 2020

@jinq0123 如果能用官方的版本还是建议用官方的版本。这个仓库是当时Unity的mono版本比较低,没法用官方的版本,protobuf-net用反射实现的,性能差且并且没有提供 DynamicMessage 的功能才做的,底层的编解码实现用的是 protobuf-net 的实现。
现在的Unity可以支持高版本的 .net standard 了,还是直接用官方的比较好。protobuf-csharp-port 看描述是基于官方的实现的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants