On Feb 2, 2010, at 1:32 PM, Henrik Johansen wrote:

> 
> 
> Den 02.02.2010 13:14, skrev Henrik Johansen:
>> For information:
>> (1 to: 3) collect: [:h | [CompiledMethod allInstancesDo: [:each | each
>> getSourceFromFile]] timeToRun]
>> 
>> Standard way, which both registers in the FileRegistry, and does close
>> at end of getSourceFromFile:
>> #(13348 12786 12712)
>> 
>> Explicit closing with readOnlyFileNamed:do:
>> #(12091 12061 12189) 
>> 
> Blargh, numbers were without nextChunk update.
> 
> With latest version, the differences are:
> 
> Standard way, which both registers in the FileRegistry, and does close
> at end of getSourceFromFile:
> #(7697 7684 7694)
> 
> Explicit closing with readOnlyFileNamed:do:
> #(6586 6597 6594)

interesting.

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to