Performance of Javascript replace vs jQuery replace
<p>In another <a href="http://stackoverflow.com/questions/7571553/">question</a> I came across two different ways of doing a string replacement.</p>

<p>One being the jQuery way $<code>("#element").text().replace(',', '.')</code> and the other being the pure Javascript way of first getting the text and then calling <code>.replace(/,/, '.')</code>.</p>

<p>Is there a big performance hit in using the jQuery method, or any other reason not to use it (assuming you already have jQuery on the page)?</p>
