Search elements of information 搜素信息
search for new elements [化学] 新元素探索
To Search For Elements 用于查找元素
elements of fringe search 附带搜查要件
Now, let's move on to optimizing search elements in the list-that is, the find method. Here are a few potential situations that may occur.
现在,我们来优化链表中的搜索元素—即find方法。
What about limiting text search to specific XML elements or XML attributes?
那么,怎么将文本搜索限制到特定的 XML 元素或 XML 属性上呢?
Subsequent query examples search in specific elements of these XML documents.
后面的查询示例搜索这些 XML 文档的特定元素。
Again. Basic premise of binary search, or at least we set it up was, imagine I have a sorted list of elements. We get, in a second, to how we're going to get them sorted, and I want to know, is a particular element in that list..
好,二分查找的基本前提,或者是我们建立二分查找的基础,我们已经有了一个排好序的元素列表,我们就需要知道如何来快速的排序,如何从列表中找到特定的元素。
On the other hand, am I likely to only search a list once? Probably not. There are going to be multiple elements I'm going to be looking for, so that suggests that in fact, I want to amortize the cost.
我可能就搜索一次么?,可能不是,可能我要找好多个元素,这样的情况下,我们就能分摊开销了,这告诉我们什么?这意味着。
You try to design actually I'm going to come back to that in a second. It's like you're trying to use a hash function that spread things out pretty evenly. But the places you store into in those lists may have to themselves have a small list in there, and when you go to check something, you may have to do a linear search through the elements in that list.
你尝试着去设计,实际上过会儿我会回头讲解这个问题,类似于你需要用一个哈希函数,非常平均的将物体分发出去,但是在列表中你数据,映射到的地方可能会有自己的一小段列表,当你回头查找数据的时候,你可能需要在那一小段列表中做线性查找。
应用推荐