<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jan 19, 2015 at 6:45 AM, Tobias Pape <span dir="ltr">&lt;<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
<br>
We store method source _solely_ in files (.sources/.changes).<br>
Why? We have means to attach it to Compiled methods, in fact, more than one:<br>
<br>
<br>
CompiledMethod allInstances size. &quot;57766.&quot;<br>
CompiledMethod allInstances count: [:m | m properties includesKey: #source].  &quot;0.&quot;<br>
CompiledMethod allInstances count: [:m | m trailer sourceCode notNil]. &quot;0.&quot;<br>
CompiledMethod allInstances count: [:m | m trailer hasSourcePointer]. &quot;57700.&quot;<br>
<br>
<br>
&quot; also interesting &quot;<br>
(CompiledMethod allInstances collect: [:m | m trailer kind] as: Bag) sortedCounts<br>
 {57701-&gt;#SourcePointer . 65-&gt;#NoTrailer . 14-&gt;#TempsNamesQCompress . 2-&gt;#TempsNamesZip}<br>
<br>
<br>
When doing some analysis on source code, it is a pain to _either_<br>
always go to disk for the source _or_ cache the code myself (which may<br>
get out of sync sooon).<br></blockquote><div><br></div><div>If you&#39;re sending messages instead of viewing private innards, why is it a pain?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  Can&#39;t we just save the source code either via trailer or properties<br>
on first access?<br></blockquote><div><br></div><div>-1.  Why do I want all of those String&#39;s in my image?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Best<br>
<span class="HOEnZb"><font color="#888888">        -Tobias<br>
<br>
<br>
</font></span></blockquote></div><br></div></div>