https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112010-04-08T02:02:29ZRuby Issue Tracking SystemRuby master - Bug #3016: Enumerable#slice_before and duphttps://bugs.ruby-lang.org/issues/3016?journal_id=99422010-04-08T02:02:29Zmatz (Yukihiro Matsumoto)matz@ruby.or.jp
<ul></ul><p>=begin<br>
Hi,</p>
<p>In message "Re: <a href="/issues/3016">[ruby-core:29026]</a> [Bug <a class="issue tracker-1 status-6 priority-4 priority-default closed" title="Bug: Enumerable#slice_before and dup (Rejected)" href="https://bugs.ruby-lang.org/issues/3016">#3016</a>] Enumerable#slice_before and dup"<br>
on Fri, 26 Mar 2010 14:02:05 +0900, Marc-Andre Lafortune <a href="mailto:redmine@ruby-lang.org" class="email">redmine@ruby-lang.org</a> writes:</p>
<p>|When writing the specs for slice_before, I was surprised that it doesn't call #dup.</p>
<p>MRI often bypasses method calls using direct C function call, mostly<br>
for performance reason. I am afraid that it's too late to fix all<br>
"surprises". I say it's implementation dependent behavior. I think<br>
it is over specification to check.</p>
<pre><code> matz.
</code></pre>
<p>=end</p> Ruby master - Bug #3016: Enumerable#slice_before and duphttps://bugs.ruby-lang.org/issues/3016?journal_id=103772010-04-20T23:35:32Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Rejected</i></li></ul><p>=begin<br>
Hi,</p>
<p>This ticket is rejected by matz.<br>
So closed.</p>
<p>--<br>
Yusuke Endoh <a href="mailto:mame@tsg.ne.jp" class="email">mame@tsg.ne.jp</a><br>
=end</p>