<div class="gmail_quote">On Sat, May 14, 2011 at 22:26, Dmitry Karpeev <span dir="ltr"><<a href="mailto:karpeev@mcs.anl.gov">karpeev@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":wx">So the splits are identified by the IS (e.g., "give me the subvec<br>
corresponding to the split with this IS")?<br></div></blockquote><div><br></div><div>Yes, that is VecGetSubVector(Vec,IS,Vec*).</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":wx">
I assume that will require IS matching. Is that faster than string<br>
matching (I guess it depends on the string/IS length/type).</div></blockquote></div><br><div>That depends on the Vec implementation and IS. I think there are many places where we would like IS matching (all the submatrix stuff, for example). IS is (almost) immutable at this point, therefore we can create a unique token for each IS. Then looking up an IS becomes a single hash lookup.</div>