https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2017-04-13T07:07:23Z
Ruby Issue Tracking System
Ruby master - Bug #13340: Improve performance of Array#sort with float elements
https://bugs.ruby-lang.org/issues/13340?journal_id=64205
2017-04-13T07:07:23Z
mrkn (Kenta Murata)
muraken@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>mrkn (Kenta Murata)</i></li></ul>
Ruby master - Bug #13340: Improve performance of Array#sort with float elements
https://bugs.ruby-lang.org/issues/13340?journal_id=64207
2017-04-13T07:22:43Z
mrkn (Kenta Murata)
muraken@gmail.com
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li></ul><p>Applied in changeset trunk|r58333.</p>
<hr>
<p>array.c: Improve performance of Array#sort with float elements</p>
<ul>
<li>
<p>array.c (sort_2): improve performance of Array#sort with float elements.</p>
</li>
<li>
<p>internal.h (cmp_opt_Float, cmp_opt_data): added for checking whether or not<br>
Float#<=> can be optimizable.</p>
</li>
<li>
<p>numeric.c (rb_float_cmp): added for internal use.</p>
</li>
<li>
<p>internal.h (rb_float_cmp): ditto.</p>
</li>
</ul>
<p>[Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: Improve performance of Array#sort with float elements (Closed)" href="https://bugs.ruby-lang.org/issues/13340">#13340</a>]<br>
<a href="/issues/13340">[ruby-dev:50023]</a><br>
[Fix GH-1539]</p>