https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2021-04-07T03:05:26Z
Ruby Issue Tracking System
Ruby master - Bug #17779: 特定の順序でHashのkeyを削除した場合に Hash#first が遅くなる
https://bugs.ruby-lang.org/issues/17779?journal_id=91346
2021-04-07T03:05:26Z
tompng (tomoya ishida)
tomoyapenguin@gmail.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/91346/diff?detail_id=59702">diff</a>)</li></ul>
Ruby master - Bug #17779: 特定の順序でHashのkeyを削除した場合に Hash#first が遅くなる
https://bugs.ruby-lang.org/issues/17779?journal_id=91347
2021-04-07T04:38:20Z
tompng (tomoya ishida)
tomoyapenguin@gmail.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/91347/diff?detail_id=59703">diff</a>)</li></ul>
Ruby master - Bug #17779: 特定の順序でHashのkeyを削除した場合に Hash#first が遅くなる
https://bugs.ruby-lang.org/issues/17779?journal_id=91478
2021-04-11T10:14:49Z
tompng (tomoya ishida)
tomoyapenguin@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Applied in changeset <a class="changeset" title="st.c: skip all deleted entries [Bug #17779] Update the start entry skipping all already deleted ..." href="https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/9f9045123efefbd11dd397b4d59596290765feec">git|9f9045123efefbd11dd397b4d59596290765feec</a>.</p>
<hr>
<p>st.c: skip all deleted entries [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: 特定の順序でHashのkeyを削除した場合に Hash#first が遅くなる (Closed)" href="https://bugs.ruby-lang.org/issues/17779">#17779</a>]</p>
<p>Update the start entry skipping all already deleted entries.<br>
Fixes performance issue of <code>Hash#first</code> in a certain case.</p>
Ruby master - Bug #17779: 特定の順序でHashのkeyを削除した場合に Hash#first が遅くなる
https://bugs.ruby-lang.org/issues/17779?journal_id=91479
2021-04-11T10:17:07Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Backport</strong> changed from <i>2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN</i> to <i>2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED</i></li></ul>
Ruby master - Bug #17779: 特定の順序でHashのkeyを削除した場合に Hash#first が遅くなる
https://bugs.ruby-lang.org/issues/17779?journal_id=91547
2021-04-15T00:55:34Z
nagachika (Tomoyuki Chikanaga)
nagachika00@gmail.com
<ul><li><strong>Backport</strong> changed from <i>2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED</i> to <i>2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONTNEED</i></li></ul><p>I think this is a performance thing.<br>
If there are any real world application affected by this issue, please let me know.</p>
Ruby master - Bug #17779: 特定の順序でHashのkeyを削除した場合に Hash#first が遅くなる
https://bugs.ruby-lang.org/issues/17779?journal_id=91548
2021-04-15T01:17:18Z
nagachika (Tomoyuki Chikanaga)
nagachika00@gmail.com
<ul><li><strong>Backport</strong> changed from <i>2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONTNEED</i> to <i>2.6: REQUIRED, 2.7: REQUIRED, 3.0: WONTFIX</i></li></ul>