Skip to content

Commit

Permalink
doc[protocol]: update document
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysunxiao committed Oct 28, 2023
1 parent fecff15 commit 784d8f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions protocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions protocol/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ cpu: i9900k
### Ⅸ. zfoo和Protobuf的区别
- 舍弃protobuf的删除字段也可以兼容协议的方式,提升1倍的性能,减小1倍的
- 舍弃protobuf的删除字段也可以兼容协议的方式,提升1倍的性能,减小1倍的体积
- zfoo取所有语言的类型声明的交集,而不是protobuf取并集,简化protobuf的类型实现
- protobuf
Expand Down Expand Up @@ -192,7 +192,7 @@ cpu: i9900k
string
```
- zfoo取所有语言的语法的交集,而不是protobuf的交集,增加protobuf的语法实现
- zfoo取所有语言的语法的交集,而不是protobuf的并集,增加protobuf的语法实现
- protobuf
```
不支持集合嵌套语法
Expand Down

0 comments on commit 784d8f1

Please sign in to comment.