<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                ### 漸進式rehash過程 ![](https://img.kancloud.cn/72/50/7250831d8a0e20b4075e459920d3e471_893x623.png) ![](https://img.kancloud.cn/5f/8c/5f8cf94e3f53147a6f55023eaf86784d_813x543.png) ![](https://img.kancloud.cn/5f/4f/5f4f2e2a9dfd508e06042f7c76a58578_815x563.png) ![](https://img.kancloud.cn/9c/86/9c8667232df8df99a0eb99578e4fd8c4_845x633.png) ![](https://img.kancloud.cn/25/11/25111d6f732081bc65fcc85b992795c2_882x648.png) ![](https://img.kancloud.cn/8d/7b/8d7b3fa4455bb3bc1fb43fdcd4a2737f_873x528.png) ***** 總結:漸進式 rehash 執行期間的哈希表操作 (1)刪除和查找:在進行漸進式rehash的過程中,字典會同時使用ht[0]和ht[1]兩個哈希表,所以在漸進式rehash進行期間,字典的刪除、查找、更新等操作會在兩個哈希表上進行。比如說,要在字典里面查找一個鍵的話,程序會先在ht[0]里面進行查找,如果沒找到的話,就會繼續到ht[1]里面進行查找,諸如此類。 (2)新增數據:在漸進式 rehash 執行期間,新添加到字典的鍵值對一律會被保存到ht[1]里面,而ht[0]則不再進行任何添加操作。這一措施保證了ht[0]包含的鍵值對數量會只減不增,并隨著rehash操作的執行而最終變成空表。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看