<!-- 
RSS generated by JIRA (4.4#649-r158309) at Tue Jun 18 19:27:57 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/CLJS-321/CLJS-321.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[CLJS-321] Support with-out-str</title>
                <link>http://dev.clojure.org/jira/browse/CLJS-321</link>
                <project id="10040" key="CLJS">ClojureScript</project>
                        <description>&lt;p&gt;Attached patch implements with-out-str macro in terms of goog.string.StringBuffer and &lt;b&gt;print-fn&lt;/b&gt; via .append&lt;/p&gt;

&lt;p&gt;The attached patch also fixes &lt;a href=&quot;http://dev.clojure.org/jira/browse/CLJS-319&quot; title=&quot;missing spaces when printing the same thing more than once&quot;&gt;&lt;del&gt;CLJS-319&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
            <key id="15544">CLJS-321</key>
            <summary>Support with-out-str</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="5" iconUrl="http://dev.clojure.org/jira/images/icons/status_resolved.gif">Resolved</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="ohpauleez">Paul deGrandis</assignee>
                                <reporter username="bbloom">Brandon Bloom</reporter>
                        <labels>
                        <label>patch</label>
                        <label>patch,</label>
                    </labels>
                <created>Mon, 18 Jun 2012 03:15:53 -0500</created>
                <updated>Mon, 22 Oct 2012 18:06:13 -0500</updated>
                    <resolved>Mon, 22 Oct 2012 18:06:13 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="28857" author="dnolen" created="Mon, 18 Jun 2012 08:44:33 -0500"  >&lt;p&gt;Patch looks mostly OK. Did you do any basic benchmarking? It would be nice to know that this doesn&apos;t slow down printing of Clojure objects.&lt;/p&gt;</comment>
                    <comment id="28869" author="bbloom" created="Mon, 18 Jun 2012 17:03:49 -0500"  >&lt;p&gt;Yes, I ran this:&lt;/p&gt;

&lt;p&gt;(time (dotimes &lt;span class=&quot;error&quot;&gt;&amp;#91;i 5000&amp;#93;&lt;/span&gt; (prn-str {:foo &lt;span class=&quot;error&quot;&gt;&amp;#91;1 &amp;quot;two&amp;quot; &amp;#39;three&amp;#93;&lt;/span&gt;}))&lt;/p&gt;

&lt;p&gt;before patch: 29988 msecs&lt;br/&gt;
after patch:  28751 msecs&lt;/p&gt;

&lt;p&gt;Effectively identical.&lt;/p&gt;</comment>
                    <comment id="28873" author="dnolen" created="Mon, 18 Jun 2012 20:56:29 -0500"  >&lt;p&gt;on V8? JSC? SM?&lt;/p&gt;</comment>
                    <comment id="28877" author="bbloom" created="Tue, 19 Jun 2012 00:35:25 -0500"  >&lt;p&gt;I had run it in a browser repl, but I forget which. I added a benchmark and re-ran it in all three. It was a tiny bit slower, so I went to investigate and discovered that I haven&apos;t the slightest clue how to predict or interpret Javascript engine performance numbers. Hell, Chrome&apos;s console seems to have completely random performance, where as the Node.js repl seems to be more consistent. I&apos;ll get my shit together and see if I can fix this up. Hopefully will have time to look at it tomorrow.&lt;/p&gt;</comment>
                    <comment id="28878" author="laczoka" created="Tue, 19 Jun 2012 03:54:22 -0500"  >&lt;p&gt;jsperf.com was a great help to me when prototyping PersistentVector&apos;s first CLJS implementation&lt;/p&gt;

&lt;p&gt;it&apos;s very-very handy and easy to use and keep updated if necessary&lt;/p&gt;

&lt;p&gt;e.g.&lt;br/&gt;
&lt;a href=&quot;http://jsperf.com/persistentvector-norecur-js/12&quot;&gt;http://jsperf.com/persistentvector-norecur-js/12&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="29296" author="dnolen" created="Wed, 29 Aug 2012 20:42:40 -0500"  >&lt;p&gt;Thanks Brandon, let&apos;s hold off on this one until we can resolve &lt;a href=&quot;http://dev.clojure.org/jira/browse/CLJS-340&quot; title=&quot;improve pr-str performance&quot;&gt;&lt;del&gt;CLJS-340&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="29761" author="ohpauleez" created="Mon, 22 Oct 2012 16:57:35 -0500"  >&lt;p&gt;I attached an updated patch (that I&apos;m using internally for a personal project) of just the with-out-str macro code.&lt;/p&gt;</comment>
                    <comment id="29762" author="dnolen" created="Mon, 22 Oct 2012 17:00:27 -0500"  >&lt;p&gt;Thanks Paul. Could we get a patch with tests included?&lt;/p&gt;</comment>
                    <comment id="29763" author="ohpauleez" created="Mon, 22 Oct 2012 17:02:02 -0500"  >&lt;p&gt;No problem - on it right now.&lt;/p&gt;</comment>
                    <comment id="29764" author="ohpauleez" created="Mon, 22 Oct 2012 17:18:44 -0500"  >&lt;p&gt;Updated with one additional piece I needed to bring over from my branch (:dynamic on &lt;b&gt;print-fn&lt;/b&gt;) and two tests: one using print and one using the raw &lt;b&gt;print-fn&lt;/b&gt;.&lt;/p&gt;</comment>
                    <comment id="29765" author="dnolen" created="Mon, 22 Oct 2012 18:06:13 -0500"  >&lt;p&gt;fixed, &lt;a href=&quot;http://github.com/clojure/clojurescript/commit/eab6032e6ba22571e5c4f821707bf5de8075e757&quot;&gt;http://github.com/clojure/clojurescript/commit/eab6032e6ba22571e5c4f821707bf5de8075e757&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11601" name="cljs-321-with-out-str.diff" size="2571" author="ohpauleez" created="Mon, 22 Oct 2012 17:17:33 -0500" />
                    <attachment id="11600" name="cljs-321-with-out-str.diff" size="942" author="ohpauleez" created="Mon, 22 Oct 2012 16:55:57 -0500" />
                    <attachment id="11333" name="with-out-str.patch" size="5552" author="bbloom" created="Mon, 18 Jun 2012 03:15:53 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                <customfieldname>Patch</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10002">Code and Test</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                        </customfields>
    </item>
</channel>
</rss>