From 784d8f158b3b837db834e29707cf4a922670f2fc Mon Sep 17 00:00:00 2001 From: godotg Date: Sat, 28 Oct 2023 11:36:42 +0800 Subject: [PATCH] doc[protocol]: update document --- protocol/README.md | 4 ++-- protocol/README_CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/protocol/README.md b/protocol/README.md index 73c724c72..29a570640 100644 --- a/protocol/README.md +++ b/protocol/README.md @@ -190,7 +190,7 @@ your protocol number a little more compactly, so that your protocol number will ### Ⅸ. The difference between zfoo and Protobuf -- Abandoning the deletion field of protobuf can also be compatible with the protocol, improving the performance by 1 times and reducing the cost by 1 times. +- Abandoning the deletion field of protobuf can also be compatible with the protocol, improving the performance by 1 times and reducing the size by 1 times. - zfoo takes the intersection of type declarations in all languages, instead of protobuf taking the union, simplifying the type implementation of protobuf - protobuf @@ -224,7 +224,7 @@ your protocol number a little more compactly, so that your protocol number will string ``` -- zfoo takes the intersection of the grammars of all languages, instead of the intersection of protobuf, and adds the grammar implementation of protobuf +- zfoo takes the intersection of the grammars of all languages, instead of the union of protobuf, and adds the grammar implementation of protobuf - protobuf ``` Collection nesting syntax is not supported diff --git a/protocol/README_CN.md b/protocol/README_CN.md index 0cd528ed4..7b7aa997b 100644 --- a/protocol/README_CN.md +++ b/protocol/README_CN.md @@ -158,7 +158,7 @@ cpu: i9900k ### Ⅸ. zfoo和Protobuf的区别 -- 舍弃protobuf的删除字段也可以兼容协议的方式,提升1倍的性能,减小1倍的 +- 舍弃protobuf的删除字段也可以兼容协议的方式,提升1倍的性能,减小1倍的体积 - zfoo取所有语言的类型声明的交集,而不是protobuf取并集,简化protobuf的类型实现 - protobuf @@ -192,7 +192,7 @@ cpu: i9900k string ``` -- zfoo取所有语言的语法的交集,而不是protobuf的交集,增加protobuf的语法实现 +- zfoo取所有语言的语法的交集,而不是protobuf的并集,增加protobuf的语法实现 - protobuf ``` 不支持集合嵌套语法