<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>Am 02.06.2008 um 20:01 schrieb Pat Maddox:</div><blockquote type="cite"><blockquote type="cite"><font class="Apple-style-span" color="#000000"><br></font> </blockquote><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">What about showing an ugly warning in the test runner?<span class="Apple-converted-space">  </span>!= is a funky</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">edge case that can really bite people.<span class="Apple-converted-space">  </span>It'd be nice to have it fixed,</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">but then tell the programmer to change it to == because of</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">performance.</div></blockquote><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Pat</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">______________________________________________</div></blockquote><br></div><div><br></div><div>The performance is much better now - but that warning thing is interesting.</div><div>I think people should be able to decide if they use != or not and there should be an option that, when applied, turns out warnings and enables 'negative operator expectations'.</div><div><br></div><div>One more word on performance: It is possible to see the difference in performance of both </div><div>versions (with source inspect and without). </div><div>But only if you run benchmarks that are exclusivley designed for this purpose.</div><div>Running the rspec spec suite for both versions doesn't show any difference.</div><div><br></div><div>Matthias</div><div> </div><div><br></div><div><br></div></body></html>