<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="vestabot.xsl"?>
<irclog>
<join channel="#vesta" nick="xorian" time="2009-06-01T15:00:12Z"></join>
<msg channel="#vesta" nick="scottven" time="2009-06-01T15:00:38Z">xorian: welcome back.</msg>
<msg channel="#vesta" nick="scottven" time="2009-06-01T15:01:19Z">xorian: I think I&apos;ve got those changes ready to go.  Any preferences as to what I call the branch?</msg>
<msg channel="#vesta" nick="scottven" time="2009-06-01T15:01:34Z">xorian: (s)</msg>
<msg channel="#vesta" nick="xorian" time="2009-06-01T17:13:11Z">scottven: Are we talking about just the changes in basics/basic and basics/generics that we made last Friday?  Or did you do some work in vesta/cache too since then?</msg>
<msg channel="#vesta" nick="scottven" time="2009-06-01T17:13:46Z">xorian:  cache too</msg>
<msg channel="#vesta" nick="xorian" time="2009-06-01T17:16:58Z">scottven: For the basics libraries, I might append &quot;.atom_no_gc&quot; for the branch name, and for the cache maybe &quot;.client_no_gc&quot;</msg>
<msg channel="#vesta" nick="xorian" time="2009-06-01T17:17:13Z">scottven: Feel free to make your own choice though.</msg>
<msg channel="#vesta" nick="scottven" time="2009-06-01T17:18:15Z">xorian: ok.  I think I need to do a bit more work in cache yet before it&apos;s ready to check in, but basics &amp; generics should be ready to go.  I&apos;ll try to get them into branches tonight.</msg>
<emote channel="#vesta" nick="batsonb" time="2009-06-01T21:50:10Z">wishes he could /**nocache**/ a _run_tool() call.</emote>
<msg channel="#vesta" nick="xorian" time="2009-06-01T21:52:15Z">batsonb: Usually a _run_tool is a significant enough chunk of work to be worth caching.  Not that I haven&apos;t seen some really small tool runs.</msg>
<msg channel="#vesta" nick="xorian" time="2009-06-01T21:52:35Z">batsonb: So, why do wish that in this case?</msg>
<msg channel="#vesta" nick="batsonb" time="2009-06-01T21:53:17Z">xorian: I have lots of cases where I have a _run_tool() call sitting inside another function, and the function does some nontrivial work before and after the _run_tool() call.</msg>
<msg channel="#vesta" nick="batsonb" time="2009-06-01T21:54:07Z">xorian: so, I&apos;d like to cache at the parent function granularity, but then I get two cache lookups everytime the function misses.</msg>
<msg channel="#vesta" nick="xorian" time="2009-06-01T21:54:13Z">batsonb: I&apos;m guessing it&apos;s unlikely that the function could miss and the _run_tool hit?</msg>
<msg channel="#vesta" nick="batsonb" time="2009-06-01T21:54:30Z">xorian: right, very unlikely.</msg>
<msg channel="#vesta" nick="batsonb" time="2009-06-01T21:55:41Z">xorian: also, with functions we have the handy /**waitdup**/ pragma, but I think one can only use that if the function is being &apos;cached&apos;, correct?</msg>
<msg channel="#vesta" nick="xorian" time="2009-06-01T21:55:49Z">batsonb: Is the outer function doing other cache-able things (calling otehr functions)?  Or is it all inside the function or /**nocache**/ functions except for the _run_tool?</msg>
<msg channel="#vesta" nick="xorian" time="2009-06-01T21:56:35Z">batsonb: Correct, /**waitdup**/ wouldn&apos;t do anything for /**nocache**/ functions.  The /**waitdup**/ machinery is part of the caching machinery.</msg>
<msg channel="#vesta" nick="batsonb" time="2009-06-01T21:56:54Z">xorian: it&apos;s doing a mix of calls to other cache-able things and local work.</msg>
<msg channel="#vesta" nick="batsonb" time="2009-06-01T21:58:12Z">xorian: So, that&apos;s another reason, the /**waitdup**/ primitive is quite important for trimming the number of cache lookups in my build, but it only works if caching is enabled for that function.</msg>
<msg channel="#vesta" nick="xorian" time="2009-06-01T22:10:37Z">batsonb: Well, it&apos;s of course not like it would be impossible to implement that.</msg>
<msg channel="#vesta" nick="xorian" time="2009-06-01T22:11:57Z">batsonb: I&apos;m not sure how soon I might happen to get to doing that though.  Honestly, it was a little easier for me to make a case for spending time on the &quot;Waiting on possibly identical...&quot; thread count issue, as that clearly has some benefit for us here as well.</msg>
<msg channel="#vesta" nick="batsonb" time="2009-06-01T23:05:32Z">xorian: Understood--just a nice-to-have. If you think of an easy way to do it, let me know and I might give it a shot.</msg>
<msg channel="#vesta" nick="scottven" time="2009-06-02T02:32:39Z">xorian: ok.  3 branches, all checked in.</msg>
</irclog>
