As you can see from Figure 1, the generated code executes much faster than reflection in every case.
从图1中可以看出,不管在什么情况下,生成的代码执行都比反射要快得多。
I also wrote a similar timing test program for creating objects using reflection. The differences for this case aren't nearly as significant as for the field and method call cases, though.
我还为创建使用反射的对象编写了类似的计时测试程序,但这种情况下的差异不象字段和方法调用情况下那么显著。
In their case, they avoided using reflection by instead working directly with class files, adding code to the classes generated by the compiler in order to provide direct access for the framework.
在他们的情况中,通过直接处理类文件,同时向编译器所生成的类添加代码以便为框架提供直接访问,来避免使用反射。
This is a rare case of Groovy violating the Rule of Least Surprise, but because getting elements out of a map is far more common than using reflection, it is an exception that I can live with.
这是Groovy比较罕见的打破 “最少意外原则” 的情况,但是由于从map获取元素要比使用反射更加常见,因此我可以接受这一例外。
In the case of the first two sets of figures (the Sun JVMs), the execution time using reflection is over 1000 times greater than that using direct access.
在前两副图中(SunJVM),使用反射的执行时间超过使用直接接入的1000倍以上。
Later, during a lull, she slipped into a grocery and, in the reflection from the metal meat case, re-pinned her thick black hair and rubbed her teeth with her finger until they shone.
后来,趁着拍摄间隙,她溜进一家食品店,对着盛肉的金属盒映出的人影,把漆黑浓密的头发重新用卡子别好,拿手指擦亮牙齿。
In the world of intelligence, it's known as mirror-imaging: in this case, seeing in an enemy's mental structure a reflection of one's own feverish simplifications.
在知识分子的世界中,它被称之为镜像:在这种情况下,会把对手内心的揣测建立在自身一种狂热简化的映射之中。
In case of the loose granular media, the reflection coefficient is simplifyed the result obtained is identical with that obtained by seniors from phenomenon theory.
文中就松散颗粒介质的情况对反射系数进行了简化,得出了前人用唯象理论所获得的结果。
Therefore, in this case, you must be self-reflection, to the subconscious to tell them what caused the pain.
因此在此种情况下,你必须进行自我反省,把潜意识中引起痛苦的事情诉说出来。
At the same time, in the case of explosion, according to the prediction of the detonation pressure and the incidence of reflection.
同时在发生爆炸情况下,按照预告设定的爆炸入射压力与反射力。
In the case of high frequencies, the sound reflection coefficient at sedimentary layer surface is simplified.
文末对高声频情况下的海底上的声反射系数进行了简化。
In each case, the polarization efficiency as well as the reflection bandwidth are electrically controllable.
每一类的反射带宽以及偏振效率都是可电控的。
This article attempts to establish the behavioral research - based teaching from the teaching modes of task - cooperation, self - activation, case - reflection and archives - classification.
文章试图从任务合作式、自我驱动式、案例反思式、分类归档式等教学模式来建构行动研究型英语口语教学模式。
No punishment for doubtful case of crime is a reflection of substantial disposition in case of doctrine of the presumption of innocence.
疑罪从无是无罪推定原则在案件的实体处理上的体现。
"Dlong Group" is a case in point: its subsequent failure triggered much reflection among scholars, many of who have made critical analysis of the causes for its failure.
德隆系的成功曾经是学界津津乐道的奇迹,德隆系后来的失败又激起了学者的许多反思,许多学者对德隆系的成败进行了剖析。
This paper proves in theory the unity of these two theories in case of diffuse emission and reflection of the walls of cavities.
本文从理论上证明了这两种腔体理论在腔体壁面为漫发射体和漫反射体条件下是一致的。
In the Confucianism-exalted feudal society, the authors' approval of Mohism could only be veiled in their works, the reflection of Mohism in the Romance of the Three kingdoms was a case in point.
在崇尚儒学的封建社会,作者对墨学的认同性只能隐藏在作品中,《三国志通俗演义》中墨子思想的体现即是很好的例证。
A case history of the application of the P-wave reflection method in that area to investigate the bedding plane of bedrock, karst cave, fault and the distribution of the dissolution belt is given.
文中给出了该区P波反射法探测基岩界面、溶洞、断层和溶蚀带分布的应用实例。
There are two chapters altogether, as well as the Introduction and the Conclusiono The first chapter deals with three case studies, and the second chapter deals with reflection on translation.
文章除前言和结论部分,共分两个章节,第一章是对三个案例的分析,第二章是关于翻译的思考。
In the case of ground reflection, a monopole with finite diameter is studied by method of moment (mom).
在考虑地面反射的条件下,利用矩量法(MoM)研究有限直径单极天线问题。
In the teaching practice, the author has doubts of poor learning in the case study, conducting observation and reflection, the author thinks the main problem lies in the case study design.
进入栏目 免费论文 付费论文 职称论文 毕业论文 转让论文 论文指导 外文翻译 检测论文在教学实践中,本人对学案 学习效果不佳产生了疑问,进行了观察和反思,认为问题主要出在学案 设计上。
Now don't simply set them all to a low Opacity. In this case you need to change some Settings in the Blending Options. The thing is that each reflection will have different Settings.
现在不仅仅只是为它们设置一个低的透明度,在这情况下你需要在图层样式里改变一些设置,也就是每个倒影都有不同的设置。
Such was the case earlier this month over Ontario, Canada, when part of a spectacular sky also became visible in a reflection off a lake.
正如这个月初于加拿大的安大略省所见,有部份的夜空影像也倒映在湖面上。
Such was the case earlier this month over Ontario, Canada, when part of a spectacular sky also became visible in a reflection off a lake.
正如这个月初于加拿大的安大略省所见,有部份的夜空影像也倒映在湖面上。
应用推荐