既然两次对象搜索都在读属性值,所以有理由只读一次并将值存入局部变量中。
Since both member lookups were reading the property's value, it makes sense to read the value once and store it in a local variable.
BopTa已走访朝鲜近100次,有时检查救济对象。
Bop Ta has visited North Korea almost 100 times, sometimes checking the recipients of handouts.
全部三次测试中,巴尼都先用小棍子试探。其中一个测试对象是一条橡胶蛇。
In all three trials, Barney began by using a stick for inspection. One involved a rubber snake.
但是在开始时要小一些,并要求用户每个包一次只选择一个或两个对象。
But consider starting small, and request that users only choose one or two objects at a time per package.
在更大的范围内,实际上事务型应用程序也常常创建一些 “一次性使用、用完作废” 的对象组。
On a larger scale, applications that are transactional in nature also tend to create groups of objects that are used and discarded together.
糟糕的数据库性能,因为数据库对数据库表中的该(超)大会话对象执行了数百次更新。
Poor database performance, as the database performed hundreds of updates to the (very) large session objects in database tables.
如果没有其他人同时更新分发器对象,我们随后的更新仅需一次循环。
If nobody else has updated the dispenser object in the meantime, our later updates will only cost a single round-trip.
你可以使用定时器并在每一次稍微动一下3d对象。
You can use a timer and move the 3d objects by a small amount each time.
egrep是grep的一个功能更加强大的版本,它让我们可以一次搜索多个对象。
Egrep is a more powerful version of grep that allows you to search for more than one object at a time.
在调用方法中第一次遇到Dictionary对象时,可以在使用它之前检查它的类型。
The first time you encounter a Dictionary object in a calling method, you can check its type before working with it.
第一次处理动态页面时,Records对象还未被添加到注册表中。
The first time the dynamic page is served, no Records object has yet been added to the registry.
根据另一种机制检索该对象时,应该将该对象设置为缓存,以便下一次检索可以直接从该缓存获取这个对象。
When you retrieve the object from another mechanism, you should set that object to the cache so that the next retrieval can get it directly from the cache.
那些经历过第一次垃圾收集后仍能生存的对象,很大部分会成为长寿的或者永久的对象。
Of the objects that survive past their first collection, a significant portion of those will become long-lived or permanent.
由于预期的情况是多数对象都将是垃圾,因此一次托儿所收集通常导致很短的暂停。
Because the expectation is that most objects will be garbage, a nursery collection generally results in a very brief pause.
集成使用对象或者元素最后一次编辑的时间来决定使用哪一个值。
The integration uses the last modification time of the object or element to decide which value to use.
您还将浏览所有数据两次:第一次浏览用于将其读入文档对象,然后在遍历文档对象时进行第二次浏览。
You're also reading through all the data twice: once for reading it into the document object, then again when walking through the document object.
或者,换句话说,在第一次调用udf之前,就创建该类的一个对象,并且一直保留到最后一次调用这个UDF之后。
Or in other words, before the first call is made to the UDF an object of the class is created and kept until after the last call.
我记得有一次,我们在谈持久化对象存储的事情,说来说去都是对象的序列化和访问机制。
I remember on one occasion, we were talking about building a persistent object store. It was all about object serialization and access mechanisms.
这保证了目标变量只会设置一次。不过,如果没有使用同步对象的话,委托可能会被几个并发线程调用多次。
While the target variable is guaranteed to be only assigned once, the delegate may be called by multiple concurrent threads unless a synchronization object is passed in.
在某些方面,这就象第一次卷入使用OOP(面向对象编程方法)、结构化编程或多线程时概念上的转变。
In some ways, this is like the conceptual shift involved in using OOP, or functional programming, or multi-threading, for the first time.
您所使用的报表对象的类型会决定您能一次添加到报表对象的项目范围。
The type of report object you are working with will determine the scope of items you can add to the report object at once.
肖建的上一次约会对象,她的英文名字是“若依”,在做出因为他的身高而终止这笔交易的决定之前,只花了三秒钟时间来打量他。
Xiaojian's last blind date, who prefers to be called her by her English name, Zoe, only checked him out for three seconds before deciding his height was a deal-breaker.
即便是在自己没有找到满意对象时可以附赠一次速配机会的情况下,每个男性或女性也都会这样做。
This happened even though each could have a complimentary speed date another time if he or she found no one they liked.
验证规则有可能重用,因为它们可以只编写一次,在里面定义不同对象所使用的方法。
Validation rules are potentially reusable as they may be written once and defined to many methods on different objects.
难道凡是第一次选择失当的人,无论因为对象朝三暮四,还是因为情况违逆多舛,就该一辈子漠然处之?
Are those who have been disappointed in their first choice, whether from the inconstancy of its object, or the perverseness of circumstances, to be equally indifferent during the rest of their lives?
可怜的乔西扎着可怕的偏马尾,带着牙套,是学校里倍受嘲笑的对象,在一次本该约会成功的舞会上,她还被鸡蛋砸了。
Poor Josie with her horrible side-ponytail and dental headgear is the butt of every joke at her school and gets egged by her supposed date on prom night.
最后一次在北美大陆上对象牙嘴啄木鸟无争议的观测是在1944年的美国路易斯安那州。
The last undisputed report of an ivory-billed woodpecker in continental North America was in Louisiana in 1944.
曼氏亚洲文学奖始于2007,每年颁奖一次,颁奖对象为暂未用英语发表的亚洲小说。
Founded in 2007, the Man Asian Literary Prize is awarded annually to an Asian novel that has not been published in English yet.
您只需将一个串行化对象写入文件——而且只需一次。
All you need to do is write a serialized object into a file, and you only do that once.
您只需将一个串行化对象写入文件——而且只需一次。
All you need to do is write a serialized object into a file, and you only do that once.
应用推荐