我需要遍历Big表,它是索引的,但不是顺序的(因为它是一个顺序索引的Bigger表的过滤器)。我应该做其中的20000个吗?set @currentID = (select min(ID) from myData where ID > @currentID)创建一个(大的)临时顺序索引表( Big表的副本)并执行以下操作的20000
我认为仅仅为了获取下一个ID而对Bigger表执行20000个过滤器是很繁重的,但是为了添加一个虚拟标识列,必须填充一
我的目标是编写一个类,它像unordered_map一样工作,但是保持元素的插入顺序,同时仍然允许O(1)按键进行查找。// like unordered_map but keeps the order of the elements for iteration// consider if element removal is needed, since it is O(N) because of the use of a ve