For large tables, this initial overhead is amortized over the entire creation: While a table with three elements needs three rehashings, a table with one million elements needs only twenty.

 
  • 对于大型的表,该初始化开销被整个创建(过程)分摊:虽然带有三个元素的表需要三次再散列,带一百万个元素的表只需要二十次。
今日热词
目录 附录 查词历史