在解释代码路径一定次数之后,会把它重新编译成机器码。
After interpreting a code path a certain number of times, it is compiled into machine code.
或者,在使用解释语言的情况下,调试器可以直接解释代码。
Or, in the case of interpreted languages, the debugger may interpret code directly.
文档说明用来解释代码是如何工作的,是写给读代码的人看的。
Docstrings explain how to use code, and are for the users of your code.
散落于代码各处,解释代码在做什么的注释让人分心,也会让编译变慢。
Cluttering up the source code with lots of comments explaining what the code is trying to do is distracting and slows down the compiler.
假设您正在通过循环计时200,000次迭代,编译代码比解释代码快10倍。
Let's say you're going to time 200,000 iterations through a loop, and the compiled code is 10 times faster than the interpreted code.
要确保他们不只是解释代码是做什么的,而是努力表达思想的过程和所要完成的。
Just make sure they don't just explain what the code is doing - instead try and convey thought process and what is trying to be accomplished.
注释:程序中用来解释代码含义和运行效果的备注信息,通常给阅读代码的人准备的。
Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.
如果编译只在200,000次迭代时才发生,那么您测量的只是解释代码的性能(时间线(a))。
If compilation kicks in at 200,000 iterations, you only measure interpreted performance (timeline (a)).
这些虚拟机实际上的确相对简单,但存在严重的性能问题—解释代码的时间总是会比执行本机代码的时间长。
These actually were relatively simple, but suffered from severe performance problems — interpreting code is always going to take longer than executing native code.
根据编译时间和编译代码比解释代码快的程度,即使对迭代数量只做很小的变化,也可能造成测量的“性能”有极大差异。
Depending on the compilation time and how much faster the compiled code is than the interpreted code, small changes in the number of iterations can result in big differences in measured "performance."
可以通过谨慎地使用AOT编译代码加快应用程序启动,因为虽然这种代码通常比JIT编译代码慢,但是却比解释代码快很多倍。
You can accelerate application start-up by carefully using AOT-compiled code because this code, although typically slower than JIT-compiled code, can be many times faster than interpretation.
编译器运行的次数很难预测,JVM按照自己的想法从解释代码切换到编译代码,而且在运行期间,相同的代码路径可能编译、重新编译不止一次。
The compiler runs at less predictable times, the JVM switches from interpreted to compiled code at will, and the same code path may be compiled and recompiled more than once during a run.
这些代码是如此晦涩难懂,如此灵活,以至于无法进行合理解释。
The codes are so obscure and so flexible that they defy rational explanation.
用代码评审解释这一点可能需要点技巧。
我们研究每个代理的代码片段,解释每个片段所做的工作。
We examine code snippets for each agent, explaining what each snippet is doing.
大多数现代JVM结合使用了解释和编译的代码执行。
Most modern JVMs use a combination of interpretation and compiled code execution.
该代码的目的是否容易解释?
假如你友善地对待售货员,你就可以叫他们把那些代码解释给你听。
If you become friendly with a store employee, you can always ask them to decipher the code for you.
一些人声称公正的代码注释是好事情,而另一些人声称代码注释只是解释过于复杂的代码的一种机制。
Some claim judicious code commenting is a good thing, while others claim it only serves as a mechanism to explain overly complex code.
处理表单中的字段、解析XML代码以及解释协议都是典型应用。
Processing fields in a form, parsing XML code, and interpreting a protocol are canonical USES.
解释用例的样例代码。
我将稍后解释这些代码。
解释的代码仍旧需要由现有的基于跟踪或者回调的调试器处理。
Code that is interpreted still needs to be handled by the existing trace or hook based debuggers.
代码也许比解释更易于理解!
The code is probably easier to understand than its explanation!
如果你是想解释新代码应该做什么,那么还是用英语解释更合适。
If you mean it as an explanation of what the new code is supposed to do, write that explanation in English instead.
事实上,它们只是一系列带有解释的CSS代码。
In fact, one is just a collection of CSS snippets with explanations.
该示例附带的源代码详细解释了抓取策略。
See the attached source code for complete working example illustrating the fetching strategy.
清单10逐行解释了这些代码。
Line-by-line explanations of the code appear after listing 10.
我将解释python代码,因此只需要对这种语言有基本的了解即可。
I try to explain the Python code so that you need no more than a basic understanding of the language to follow along.
代码引用被有意解释为伪代码(pseudo - code)。
The code references are intended to be interpreted as pseudo-code.
应用推荐