<div>Hi list,</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have a indexed MagmaCollection (&nbsp;it has&nbsp;about 11,000 objects). I have noticed&nbsp;that requesting the size to a MagmaCollectionReader takes a long time whereas the same requesting to a MagmaCollection doesn´t</div>

<div>&nbsp;</div>
<div>&nbsp;For example:</div>
<div>&nbsp;</div>
<div>&quot;MagmaCollection&gt;&gt;size - fiirst evaluation&quot;</div>
<div>[ (magmaSession root at: #Serial) size ] timeToRun&nbsp; &quot;answer about 525 milliseconds&quot;</div>
<div>&quot;Note: magmaSession root at: #Serial answer a MagmaCollection&quot;</div>
<div>&nbsp;</div>
<div>
<div>&quot;second evaluation&quot;</div>
<div>[ (magmaSession root at: #Serial) size ] timeToRun&nbsp; &quot;answer about 1milliseconds&quot;</div>
<div>&nbsp;</div>
<div>&quot;MagmaCollectionReader&gt;&gt;size&nbsp; first evaluation&quot;</div>
<div>[ ((magmaSession root at: #Serial) read: #issnString) size ] timeToRun &quot;answer about 9798 milliseconds&quot;</div>
<div>
<div>&quot;second evaluation&quot;</div>
<div>[ ((magmaSession root at: #Serial) read: #issnString) size ] timeToRun &quot;answer about&nbsp;&nbsp;8992 milliseconds&quot;</div>
<div>&nbsp;</div>
<div>Any suggestions for reducing this time? <br><br>Thanks in advance.<br>Juan Matias.<br>&nbsp;</div></div></div>