为什么常识

Java 反射到底慢在哪里?

生活词典 changshi.cidiancn.com

阅读: 251

Java 反射到底慢在哪里?能系统讲解下么?万分感谢4 个答案

答案 1:

谁告诉你慢了?

答案 2:

忽略不计

答案 3:

应该动态加载的,没办法运用jvm的一些优化措施,比如jit之类的。

答案 4:

Because reflection involves types t-at are dynamically resolved, certain Java virtual -c-ine optimizations can not be performed. Consequently, reflective operations -ave slower perfor-nce t-an t-eir non-reflective counterparts, and s-ould be avoided in sections of code w-ic- are called frequently in perfor-nce-sensitive applications. stackoverflow/question...

分享常识给亲友.

下一篇:关于网页动态语言的-全是-人写的? 下一篇 【方向键 ( → )下一篇】

上一篇:境外上市和境内上市有哪些区别,是否存在优劣? 上一篇 【方向键 ( ← )上一篇】