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

效率怎么样呢 #12

Closed
xbase opened this issue Jan 6, 2015 · 5 comments
Closed

效率怎么样呢 #12

xbase opened this issue Jan 6, 2015 · 5 comments

Comments

@xbase
Copy link

xbase commented Jan 6, 2015

相比于直接使用protobuf,使用jprotobuf效率上会降低多少?

@jhunters
Copy link
Owner

jhunters commented Jan 6, 2015

初始加载会有百毫秒左右的时耗,后续使用基本上与原生的protobuf相当的

@xbase
Copy link
Author

xbase commented Jan 6, 2015

已测试验证,非常感谢您。
还有点问题:jprotobuf 你们是否已经在生产环境中使用?有什么需要注意的问题吗?

@jhunters
Copy link
Owner

jhunters commented Jan 7, 2015

已经有多个项目在实践中使用,主要是应用手游方面做数据传递序列化。jprotobuf需要JDK6以下环境,因为引入了动态编译,不支持纯jre环境下运行,感谢对jprotobuf的支持,同进能否介绍一下你那边的用途情况

@xbase
Copy link
Author

xbase commented Jan 7, 2015

太巧了,我也是做手游的,想在下个项目中使用 jprotobuf。
“jprotobuf需要JDK6以下环境” 应该是JDK6以上吧?

@jhunters
Copy link
Owner

jhunters commented Jan 7, 2015

“jprotobuf需要JDK6以下环境” 应该是JDK6以上吧?
对,JDK6以上

@xbase xbase closed this as completed Jan 7, 2015
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