We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
想问下在RpcRequestHandler里对获取到的Method加个缓存会不会有性能上的提升/会不会有什么副作用?反射调用的invoke性能到底如何呢?
The text was updated successfully, but these errors were encountered:
第一个问号:没必要,反射获取的速度很快的,你缓存也是放到map里面,速度没什么提升,反而导致空间占用太大,得不偿失 第二个问号:反射调用的性能会比直接调用慢,但是这个项目很明显反射调用比直接调用好,而且速度瓶颈是网络
Sorry, something went wrong.
感谢解答!理解了!
No branches or pull requests
想问下在RpcRequestHandler里对获取到的Method加个缓存会不会有性能上的提升/会不会有什么副作用?反射调用的invoke性能到底如何呢?
The text was updated successfully, but these errors were encountered: