doc[protocol]: update document

This commit is contained in:
godotg
2023-10-28 11:36:42 +08:00
parent fecff15b8f
commit 784d8f158b
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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
```
不支持集合嵌套语法