如果这还不能很好地满足您的要求,您可以修改代码或编写您自已的PHP。
If this doesn't do exactly what you want, you can modify the code or write your own PHP.
我敢肯定,现在您正在以不同的方式考虑代码中的内存利用—哪里很好,以及哪里还有待改进。
I'm sure by now you're thinking differently about memory utilization in your code-where it is good and where it could be better.
一般来说,在应用程序代码中要做些妥协,才能很好地处理方案生成的类型。
Broadly speaking, you need to make compromises in your application code to play nicely with the schema-generated types.
使用同步代码能够很好地解决某些问题,但它的缺点在某些情况下也特别明显。
Using synchronized code is fine for certain problems, but the weaknesses are fairly obvious for our use case.
例如,如果有一种更简单的方法来部署和维护多个EAR使用的公共代码,难道这不是很好吗?
For example, wouldn't it be nice to have an easier way to deploy and maintain common code that is used by multiple EARs?
我们可以阅读需求规约和代码,并能够很好地保证实现是正确的。
We can read the requirements specification and the code and do a very good job of ensuring that the implementation is correct.
由于文档对chat机制介绍不多,因此它是进一步了解代码的很好起点。
As the chat mechanism is only lightly covered in the documentation, it's a good starting point for further code exploration.
当然,虽然您在PythonIDE中编写的代码可以很好地移植到Linux桌面,但是环境本身是不可以移植。
And of course, even though code you write in PythonIDE ports transfers fine to Linux desktops, the environment itself does not.
Mary正在对这个应用程序做一些其他的修改 ——她在编写单元测试方面做得很好,但是这个代码也太差了点。
Mary is working on the other major changes to the application -- she's doing a good job of writing unit tests, but the code is by no means perfect.
Vim很好地支持编辑时自动代码布局(见:helpindent . txt和:helpfilter)。
Vim has good support for automatic edit-time code layout (see: help indent.txt and: help filter).
如果您这么做了,那么用于本文的包中提供的客户机代码(请参阅参考资料)应该很好用。
If you do this, then the client code provided in the package for this article (see Resources) should work like a charm.
通过避免开发人员已经逐渐认可的设计权衡,这些解决方案表明,即使您认为代码已经被很好地模块化了,AOP仍然很有用。
By avoiding design trade-off's developers have grown to accept, these solutions show that AOP can be useful even when the code is already thought to be well-modularized.
从每个调用中收集状态描述是很好的实践,例如将错误代码等返回到一个可重复的数组中然后原样返还给服务消费者。
It is a good practice to collect status description from each invoke such as return codes etc. into a repeatable array and return the same back to service consumer.
总是提供一个表单名和一个别名是一种很好的作法,这使得后面所有代码都可以引用别名。
It's good practice to always provide a form name and alias name. All code should then refer to the alias name.
闭包可以很好地与面向对象的代码以及面向过程的代码整合。
Closures can integrate just as well with object-oriented code, as well as with procedural code.
但是开发能更改页面的代码很简单,而且还可以对代码进行测试直到它能很好地工作为止。
But developing the line of code that changes the page is simple, and variations of the code can be tested until it works perfectly.
如果应用程序要使用大型XML语法,那么代码生成方式是个很好的方法。
The code generation approach is a good one if your application employs a large XML grammar.
读者应当阅读有关文档来获得关于这个模块的更多细节,但是这个代码片段很好地体现了它的整体风格。
Readers should read its documentation to find more on the module details, but the general feel is well represented in this snippet.
事实是,你的代码已经写得很好并且很好地调整过,从那里获取性能增益会好比从石头中获取血液一样艰难。
Let's face it, your code is already well written and well tuned; getting any performance gains there is going to be like getting blood from a stone.
如果您愿意花时间修改源代码,这种方法当然很好,但并不一定要如此。
That works great if you're willing to mess around with the source code, but you don't have to.
我认为给你看一段简单的代码,可以很好的说明这个问题。
And I think this is best illustrated by giving you a simple little piece of code.
真正重要的是本框架代码编写得很好,经过仔细调优和很好的测试。
What actually matters is that the framework code is well written and carefully tuned and well tested.
当您很好地理解了客户机代码之后,我将对客户机代码稍做修改,创建一个蓝牙音乐商店。
After you have a solid understanding of the client code, I'll make a few modifications to the client code in order to create the Bluetooth Music Store.
这个结构是极度简化的,没有被很好地实现;这是为了让代码更少,更容易读懂。
The structures are fairly minimalist and not very well generalized; this is to make the code smaller and easier to read.
乍看起来,这段代码似乎能运行得很好,因为创建了一个新的线程来处理访问网络的操作。
At first, this seems to work fine, because it creates a new thread to handle the network operation.
在清单8中添加的激活和解除激活代码可以很好地工作。
The activation and deactivation code you added in Listing 8 works perfectly.
由于没有很好地将示例代码库划分成mvc代码,这导致它自身很容易地进行编程序测试,因此没有使用自动化单元测试或持续集成系统。
Because the example codebase was not well divided into MVC code that lends itself to easy programmatic testing, automated unit test or continuous integration system was not used.
如果系统被很好的设计与构建,代码只需要在很少的位置做修改。
If the system were well-designed and constructed, the code might require changes in only a few places.
如果系统被很好的设计与构建,代码只需要在很少的位置做修改。
If the system were well-designed and constructed, the code might require changes in only a few places.
应用推荐