这与浏览器合并字符串时分配内存的方法有关。
This is because of the way that browsers allocate memory when merging strings.
当合并字符串的长度和数量增加之后,有些函数开始显示出自己的威力。
As the length and number of strings that must be merged increases, however, some methods start to show their strength.
那么你怎样优化此类任务呢?首先,有多种方法可以合并字符串(见表5 - 1)。
So how can you optimize these kinds of tasks? For starters, there is more than one way to merge strings (see Table 5-1).
合并操作中所有的变量都被转化成字符串,可能造成一些有趣的现象。
All variables are converted to strings during the merge operation, which can create some interesting situations.
简而言之,如果仅通过连接字符串来合并翻译后的文本,那么合并出来的句子可能不符合目标语言的语法。
In short, if the translated text is constructed just by concatenating the strings, the constructed sentences might no longer be grammatically correct in other languages.
这非常方便,因为你不用在手动的移除多余的斜线以免只是合并两个字符串。
This is handy because you don't have to manually remove the extra slashes that might result in just combining the two strings.
LotusNotes应用程序中的代码和可翻译的字符串是合并在一起的。
The code and translatable strings of Lotus Notes applications are combined by their nature.
您还可以使用XQuerystring - join函数将序列合并成一个字符串,如清单9所示。
You can also "implode" a sequence into a string with the XQuery string-join function, as in Listing 9.
这样会把两个字符串合并到一个东西里面去。
一个常见的报告需求就是将数据从多个列合并到一个字符串中。
A common reporting requirement is to concatenate data from more than one column into a single string.
那个玩笑是这样的,你们懂得,我并不喜欢,加法被重载这样的事情,但是你可以用加法,来对字符串进行合并,你可以用加法来加数字。
In which I said, you know, I didn't like the fact that things like plus are overloaded, because you can use plus to add strings, you can use plus to add Numbers, you can use plus to add floats.
从一列项目字符串中创建一列PPListElement对象并且将新的依赖关系与项目中已经存在的合并在一起。
GetProjectDependencies: Creates a list of PPListElement objects out of a list of project strings and merges the new dependencies with the one that were already in the project.
将数组中的所有元素合并起来成为一条字符串。每个元素可以指定他们的分隔标记。
Puts all the elements of an array into a string. The elements are separated by a specified delimiter.
当字符串是这样合并在一起时,由于运行时没有中间字符串,所以连接它们的时间和内存可以减少到零。
When strings are folded together like this, there are no intermediary strings at runtime and the time and memory that would be spent concatenating them is reduced to zero.
对整个汉字字符串中组件的宽度和相邻组件的间距进行分析,有助于左右关系组件的合并。
The width of elements and the spacing between neighboring elements in the whole handwritten Chinese character string are analyzed to guide the merging of left right elements.
指定安装程序或合并模块中的字符串资源(例如文件名或注册表值)的区域设置。
Specifies the locale for string resources such as file names or registry values in an installer or merge module.
验证错误,如果合并生成字符串的字符串长度超过了第一。
A validation error is generated if the combined strings exceed the length of the first string.
验证错误,如果合并生成字符串的字符串长度超过了第一。
A validation error is generated if the combined strings exceed the length of the first string.
应用推荐