Note that this overhead processing is not enabled for the production code.
(注意,不要为生产代码启用这种开销很大的处理)。
Minimize the number of remote calls to reduce the overhead imposed by remote calls in your code path.
尽可能减少远程调用的数量,以减少由于代码路径中的远程调用带来的系统开销。
The problem here is that the code processing the SAX2 events needs to maintain state information for everything it processes, and this adds both complexity and overhead.
这里的问题在于,处理SAX2事件的代码需要维护其处理的所有事情的状态信息,这既增加了复杂性又增加了开销。
This has substantial overhead, but it works on new platforms; use that code until you know the platform well enough to develop a platform-specific implementation, if you even need one.
这会产生大量的开销,不过这在新平台上可以很好地工作;如果需要,请一直使用这些代码,直到您对新平台的了解已经足够开发一个特定于平台的实现为止。
Since the WSDL rarely changes, many developers embed the WSDL definition into their code to avoid the overhead of getting the WSDL every time.
由于WSDL很少被修改,很多开发者把WSDL定义嵌入进他们的代码,以避免每次获得WSDL的开销。
Specifically, we decided the best way to deal with data-format validation code was to keep it close to the client, thus keeping the processing overhead to a minimum.
特别是对于数据格式验证代码,我们认为处理它的最佳方法是使它接近客户机,这样可以使处理开销保持最少。
Again, this can be attributed to some additional overhead in reflective invocation, a longer code path, and the tracing activity.
这还是要归因于反射调用中的额外开销、较长的代码路径和跟踪活动。
You'll be happier with stable code, simpler interfaces, and much less overhead.
您会对稳定的代码、更简单的接口以及更少的开销,感到更高兴。
QEMU's dynamic translator also caches blocks of translated code to minimize the translator's overhead.
QEMU的动态翻译程序还缓存了翻译后的代码块,使翻译程序的内存开销最小化。
Used properly, they can save you substantial code maintenance overhead.
只要使用得当,它们可以为您省去大量的代码维护开销。
You'll reduce the overhead of writing the same piece of code multiple times because you update the code in only one place.
这会减少多次编写同样代码的开销,因为只需在一个位置更新代码。
This approach lets you better leverage existing Lotus Domino structures to reduce code and performance overhead.
这种方法允许您更好地利用已有的LotusDomino结构来减少代码和性能开销。
Nevertheless, the resulting XQuery code remains concise and does not contain the overhead you'd have when using a different language to process XML.
但是,生成的XQuery代码仍然保持简洁,并不包含使用其他语言来处理XML时将出现的开销。
Using a JIT will speed up execution by compiling to machine code, thus eliminating the overhead of fetching, decoding, and dispatching Python opcodes.
JIT通过将代码编译成机器码,这样可以减少翻译Python指令的时间,以此提高代码的执行速度。 “在CPython里,” Winter 解释道,“这一部分的开销很大;在这方面只做了较小的调整就使CPython 2.7有了近15%速度提升。”
Since the request for the container can be put in the code, the overhead cost of synchronizing the deployment descriptor with the code is minimized.
因为可以将对容器的请求放入到代码中,所以使得对部署描述符与代码进行同步的开销减到最小。
By declaring it static, you save client code the overhead of creating an object.
通过声明为静态,为客户机代码节省了创建对象的工作量。
You just need to edit source code on your own computer, and everything else can be delegated to an automated system in the cloud with minimal it overhead.
您只需在您自己的计算机上编辑源代码,所有一切在云中都可以用最小的IT开销委派给自动化系统。
Accessors do add some overhead to your code, but it is trivial — especially when compared to other factors, such as questionable database designs.
读写方法确实会为代码增加一些开销,但这些开销很小——特别是与象有问题的数据库设计这样的其它因素相比。
JIT compilation removed the overhead of interpretation (at the expense of some additional startup cost), but the level of code optimization was mediocre for several reasons.
JIT消除了解释的负担(以额外的启动成本为代价),但是由于若干原因,代码的优化等级仍然是一般般。
Low compilation overhead is maintained that can be more easily hidden behind the performance benefit from repeatedly executing the hot code.
低编译开销更容易被反复执行热代码带来的性能优势掩盖。
This allows for easier maintainability of the code, but introduces overhead.
这种方式可以提高代码的可维护性,但是也会导致一些开销。
Pair programming has been shown to produce better quality code without undue overhead.
成对编程看起来可以产生更好的质量且避免过大的压力。
Because most code execution is deterministic, our system simply ignores it, making the overhead low.
因为大多数代码的执行都是决定性的,我们的系统会忽略这些代码,从而降低负载。
Gmond has very little overhead which makes it a great piece of code to run on every machine in the cluster without impacting user performance.
gmond带来的系统负载非常少,这使得它成为在集群中各台计算机上运行的一段代码,而不会影响用户性能。
Very low overhead; typically less than 30% longer runtime and 50% extra code size.
消耗低,一般低于30%的额外运行时间和50%的代码体积增长。
If you're using code like this in a performance hotspot, you can avoid the overhead by declaring fields and methods accessed by inner classes to have package access, rather than private access.
如果你在高性能的Hotspot中使用这些代码,可以通过声明被内部类访问的字段和成员为包访问权限,而非私有。
However, no matter how fast the callback is executed, the problem of this solution remains: as soon as the debugger is started, every line of Ruby code incurs an overhead.
然而,无论回调执行的多快,这种解决方案的问题都始终存在:只要debugger一启动,所调试Ruby程序的每一行代码都会承受额外的开销。
Code that spends most of its time making library calls is just not going to benefit that much from Pyrex speeding up incidental loop overhead.
花费大部分时间在库函数调用上的代码不会像那些简单循环任务一样使用Pyrex可以获得明显的加速。
The Rhino code base reads almost like C code: it avoids allocation and does as much as possible with jump tables to avoid the overhead of virtual method lookups.
Rhino代码读起来很像C程序:它避免过多的分配,并且尽量多地使用跳转表(Jump Tables)来避免虚方法查询(Virtual Method Lookups)的额外开支。
For example, specifying a code block instead of a delegate can be useful in a situation when having to create a method might seem an unnecessary overhead.
例如,如果创建方法所需的系统开销是不必要的,则指定代码块(而不是委托)可能非常有用。
应用推荐