2008/11/13 Martin Pool <span dir="ltr">&lt;<a href="mailto:mbp@canonical.com">mbp@canonical.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">... There&#39;s another<br></div></div>
dimension too, which is whether it provides a &#39;luxurious&#39; python<br>
object interface (eg TreeDelta) or a (much cheaper) iterator of tuples<br>
(eg iter_changes). &nbsp;I don&#39;t know if we really want to continue<br>
providing the first as a general interface, because of the cost,<br>
though maybe we can provide functions that collate the lower level<br>
deltas for easier use by less performance sensitive code.<br>
</blockquote></div><br>Helper functions would help. :)<br>Or maybe a nice class that encapsulates the tuple:<br>you pass the tuple to its constructor and it exposes the content as properties.<br>So we can have a bunch of small wrapper classes one for each type of tuple.<br>
<br>hope that makes sense<br>marius<br>