造成这种速度优势的原因是数组是固定大小的,而默认的PHP 数组是可变大小的,并且不允许非数值型索引。
This speedup is due to the fact that the array is a fixed size, not a variable-sized one like the default PHP one is, and that non-numeric indexes are not allowed.
arrays类提供了一系列处理数组的静态工具方法,这些索引的数据结构的大小是固定的。
The arrays class provides a series of static utility methods for working with arrays, those indexed data structures that are of a fixed size.
hash索引常常使用一个数组来实现,数组中的每个元素是一个有固定大小的hashbucket,如图1所示。
A hash index is often implemented using an array where each element in the array is a hash bucket with a fixed size, as is depicted in Figure 1.
借助hash索引,可以通过为记录生成一个hash值,然后根据这个hash值在文件中查找该记录,从而在固定的时间内在给定的文件中找到一条记录。
With a hash index you can find a record in a given file in constant time by generating a hash value for the record and then looking up the record in the file based on that hash value.
如果台面索引轴松动,拧紧固定螺栓。
现在这是固定的,正确的索引号返回。
要把数据表中的相似重复记录标识出来,常用的方法是先将所有记录按照某个关键字进行索引,然后在一个固定长度的窗口范围内进行记录的两两比对。
The common approach of marking the approximately duplicate records is that a pair of records are compared in a window with fixed length after these records are indexed by a certain keyword.
最好它维持做固定编码索引,像英文。
索引键列可以包括固定长度和可变长度列。
The key columns of an index can include fixed-length and variable-length columns.
这时候的二进制数据格式如上图, 第一位固定为1,后面7位为映射的索引值。
An indexed header field starts with the '1' 1-bit pattern, followed by the index of the matching header field, represented as an integer with a 7-bit prefix.
这时候的二进制数据格式如上图, 第一位固定为1,后面7位为映射的索引值。
An indexed header field starts with the '1' 1-bit pattern, followed by the index of the matching header field, represented as an integer with a 7-bit prefix.
应用推荐