The solution is to create a list that contains the sort information, and generate the sort field information just once.
解决方案是创建一个包含排序信息的列表,并只生成一次排序域信息。
Instead of calling sprintf all those times, we call it just once for each item in the hash in order to generate a sort field in the hash, and then use that sort field directly during the sort.
现在不需要每次都调用sprintf,对hash表中的每一项,只需要调用一次该函数,就可以在hash表中生成一个排序字段,然后在排序时就可以使用这个排序字段了。
It is no use to have the sort of liking that consists in regarding them as a field for valuable social endeavor, or — what amounts to the same thing — as an outlet for power-impulses.
那种坚持把孩子们当成社会事业中有价值的一部分,或者——实质相同——权力冲动的宣泄口的喜爱毫无用处。
They sort left from right versions using circularly polarised light, whose electric field corkscrews through space in a left or right-handed direction.
旋转偏振光被他们用来筛选左手性和右手性分子,这种光的电场以左手或右手螺旋形式在空间旋进。
Besides the field access time tests, I did the same sort of timing test for method calls.
除了字段接入时间测试之外,我还进行了相同的方法调用时间测试。
Zidane's off-field blandness extends to his wardrobe, which is just sort of dull and unimaginative.
齐达内球场下的平淡无奇延伸到他的衣柜里,简直是有些呆板、缺少想像力。
The temporarily created field SORT is used within the ORDER BY clause, to get the result returned in the depth-first sequence.
临时创建的字段sort用于ORDERby子句内,以便按深度优先顺序获得返回的结果。
Where Arabic is of course useful is for working in the field, but the sort of Arabic taught at universities isn't always the best for that.
在进行实地考察时,阿拉伯语一定能派上用场。不过大学里教授的阿拉伯语不一定是最合适的。
This is the equivalent of zapping a stationary object with an oscillating magnetic field of the sort used in MRI.
这相当于不断摆动MRI中的磁场,并令其轰击某一静止物体。
We talked about the sense that, I think, young people have a sort of prejudice against the field and they think that finance is a field that you go into if you really value money rather than people.
我们谈论了,年轻人对这一行业的偏见,他们认为进入金融业的人,金钱至上,而不尊重他人。
On a Domino form or a Web page, we can control this sort of input using a selection list, so that users cannot add arbitrary data to a restricted field.
在Domino表单或web页面中,可以使用选择列表来控制此类输入,这样用户就无法向受限制的字段中添加随机数据类。
A very practical feature of sort is its ability to sort using field keys.
sort的一个非常实用的特性是它用字段键进行排序的能力。
If you omit the second number, sort will assume that the key starts at the given field and continues to the end of each line.
如果您省略了第二个数字,那么sort会假定键是从给定的字段开始,一直到每一行的末尾。
If we then sort text2 on its second field and join that with text 5 using the second field of each file as the join field, we should have two matches (apple and banana).
如果我们针对text2的第二个字段对其排序,然后使用每个文件的第二个字段作为join字段来将text2和text5连接起来,那么我们应该得到两个匹配(apple和banana)。
Since text2 is not sorted in numeric order, we could sort it and then join would join the two lines that have a matching join field (the field with value 3 in this case).
由于text2并不是按数值排序的,因此可以对它进行排序并使用join命令将具有匹配的join字段(在本例中指值为3的字段)的两行连接起来。
That sort of technology allows them to put only the amount of fertilizer that is needed on a field and in the exact location that it is needed.
这些技术使人们只在必要的地方施用最少量的化肥。
Alellyx, which Mr Reinach claims is the only company tweaking sugar-cane DNA, has started field trials of a variety with 80% more sucrose—the raw material for sugar or fuel—than the standard sort.
Reinach认为Alellyx是唯一一家将糖和甘蔗的DNA进行拧合的公司。 这家公司现在开始对一种使用比标准品种蔗糖(糖或燃料的原材料)含量高80%以上的新品种进行田间试验。
The first three field names plus the Headline field are set to sort in ascending order, in that order (1 through 4).
前三个域名称以及Headline 域按照升序进行排序,即从1到4。
Sorting support - sort databases based on certain field values.
分拣支持-排序数据库基于某些字段值。
The paper summarized the lactobacillus'properfies, and sort. The application and prospect in medicine field have been referred.
本文主要概述了乳酸菌的特性和分类,同时对其在医药领域中应用及前景做了综述。
Sort retrieved posts by this field.
根据这个区给得到的文章排序。
Is it time for the Premier League to introduce some sort of draft system or wealth redistribution to try to level the playing field a bit?
对于英超联赛来说,是时候引进某种新的制度或者通过财富的重新分配来使比赛更加公平的竞争。
Zidane e's off-field blandness extends to his wardrobe, which is just sort of dull and unimaginative. Luckily his wife has perfect taste.
齐达内球场下的平淡无奇延伸到他的衣柜里,简直是有些呆板、缺少想像力。万幸的是,他的妻子非常有品位。
Use a Number or Currency field to sort numbers as numeric values.
使用“数字”或“货币”字段按照数字值对数字进行排序。
There is much discussion about emergency parachutes, and for those who are not professional in the field, it is very difficult to sort out the claims forwarded by the 'experts'.
现在有很多关于备份伞的讨论,对于非专业人士而言,很难分辨那些“专家”的主张。
After several minutes you should be able to see some sort of energy field around the person, even if you cannot determine the color.
几分钟后你就应该能够看见人体周围某种能场,即使你不能够分辩这光环的颜色。
The environmental crisis is thus an open field for just the sort of savvy entrepreneurship that Hundt extols during the "Golden 90s."
因此,对于那些如亨特大力称颂的“黄金90年代”时期一样的精明企业家来说,环境危机领域是一块机会之地。
Aesthetic design in editing activity is a sort of bran-new stereo system behavior. Aesthetic design seeps to the field of editing to form a new kind of marginal ology.
编辑活动中的审美设计是一种全新的立体系统行为,审美设计学渗透到编辑学的领域,形成新的边缘性学科。
The piezoelectric materials have been widely used in the field of structural vibration control as a sort of smart materials because of their excellent mechanical-electrical coupling characteristics.
压电材料作为一种智能材料,以其良好的机电耦合特性,在结构振动控制领域具有广泛的应用。
The piezoelectric materials have been widely used in the field of structural vibration control as a sort of smart materials because of their excellent mechanical-electrical coupling characteristics.
压电材料作为一种智能材料,以其良好的机电耦合特性,在结构振动控制领域具有广泛的应用。
应用推荐