mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-18 06:27:01 +00:00
doc[protocol]: update document
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
@@ -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
|
||||
```
|
||||
不支持集合嵌套语法
|
||||
|
||||
Reference in New Issue
Block a user