Enable block inlining within the jit.
在JIT中可以使用block内嵌(block inlining)功能。
Listing 4. Using an interface to prevent method inlining.
清单4使用接口防止方法内联。
Listing 2 shows an example of the type of optimization that is enabled through inlining.
清单2显示了一个通过内联实现的这类优化的示例。
Inlining functions in code results in unintelligible code and even bigger management horrors.
代码中的内联函数会导致莫名其妙的代码,甚至是更大的管理灾难。
Large object (LOB) inlining - Small LOBs can be stored in the formatted rows of the base table.
大对象(lob)内联—小的LOB可存储在基表的格式化行中。
Two new system-supplied functions enable administrators to analyze inlining of small XML documents.
管理员可以使用系统提供的两个新函数分析小型XML文档的内联。
The decision to inline is based on an estimate as to whether inlining will result in smaller code size.
决定内联是基于估计到是否内联将导致更小的代码尺寸。
Dynamic compilers, especially once method inlining takes place, have many more ways to determine that code is dead.
动态编译器(尤其是在进行方法内联之后)通过许多方法来判断死代码。
Inlining can reduce the size of the regions index dramatically since inlined documents do not require any regions index entries.
内联功能可以显著减小区域索引的大小,因为内联文档不需要任何区域索引条目。
Also, the compiler has more information about static functions and so can do more optimization, including potentially inlining.
同时,编译器有更多关于静态函数的信息,所以可以做更多的优化,包括潜在的内联。
Queries that only access the relational columns of the table now need to read a much larger number of pages than without inlining.
对于只访问表的关系列的查询,现在所需读取的页面数要远远超过未实现内联时需要读取的页面数。
Note, however, that inlining significantly increases the row size on your data pages. This in turn decreases the number of rows per page.
但是要注意,内联会极大增加数据页面的行大小,从而减少每个页面的行数量。
Relevant for inlining is the size of the document after XML parsing in DB2, not the size of the textual XML document in your file system.
与内联有关的是经过DB2解析的XML文档的大小,而不是文件系统中的原始xml文档的大小。
Inlining a very small accessor function will usually decrease code size while inlining a very large function can dramatically increase code size.
内联一个非常小成员访问函数会减少代码,而内联一个非常大的函数代码会戏剧性的增长。
And the experiments of object inlining optimization also show that it can improve the performance of the object-oriented language Java effectively.
对象内联优化的测试实验也表明,它能有效提高面向对象语言的运行时性能。
Many standard optimizations can only be performed within a "basic block," and so inlining method calls is often important to achieve good optimization.
许多标准的优化只能在“基本块”内执行,所以内联方法调用对于达到好的优化通常很重要。
Cons: Overuse of inlining can actually make programs slower. Depending on a function's size, inlining it can cause the code size to increase or decrease.
限制:过度使用内联函数实际上会使减慢程序运行,取决于函数体大小,它决定了代码增加或减少。
If inlining is prevented with the presence of a lock and not prevented without, than we need to make sure that we don't include the extra method call in our results.
如果由于锁的存在而抑制了内联,反之没有锁就可能出现内联,那么我们要确保在测试结果中没有包含额外的方法调用。
The change from 24 to 25 in this case is the tipping point for when the cost of inlining is estimated to be more than what is saved by removing the function definition.
在这种情况下,从24到25变化的转折点时,内联的费用估计要比通过去除函数的定义保存。
The Ruby development tools have had refactoring support for quite some time now, implementing for example various rename refactorings, extracting, moving and inlining of methods.
Ruby开发工具早就支持重构了,实现了比如重命名、扩展、移动和方法内联。
The result is that the compiler can make aggressive inlining decisions to achieve higher performance, then back out those decisions later if they are no longer based on valid assumptions.
结果就是,编译器要进行主动的内联决策,才能得到更高的性能,然后当这些决策依据的假设不再有效时,就会收回这些决策。
Styling can be done using local style definitions (as in Listing 3), references to external style sheets, inlining styles within the components, and using the setStyle method in ActionScript.
样式设计通过使用本地样式定义(见 清单3)、对外部样式表的引用、组件内的内联样式以及ActionScript 中的setStyle方法完成。
Inlining always reduces the number of instructions executed (since at a minimum the call and return instructions are not executed), but it can (and often does), make the resulting code bigger.
内联总是减少指令执行的数量(这是由于最低限度的调用和返回指令没有被执行),但是它能(并经常)让结果代码变得很大。
Inlining always reduces the number of instructions executed (since at a minimum the call and return instructions are not executed), but it can (and often does), make the resulting code bigger.
内联总是减少指令执行的数量(这是由于最低限度的调用和返回指令没有被执行),但是它能(并经常)让结果代码变得很大。
应用推荐