RFC: idioms/names for delta vs changes
Marius Kruger
amanic at gmail.com
Thu Nov 13 07:36:10 GMT 2008
2008/11/13 Martin Pool <mbp at canonical.com>
> ... There's another
> dimension too, which is whether it provides a 'luxurious' python
> object interface (eg TreeDelta) or a (much cheaper) iterator of tuples
> (eg iter_changes). I don't know if we really want to continue
> providing the first as a general interface, because of the cost,
> though maybe we can provide functions that collate the lower level
> deltas for easier use by less performance sensitive code.
>
Helper functions would help. :)
Or maybe a nice class that encapsulates the tuple:
you pass the tuple to its constructor and it exposes the content as
properties.
So we can have a bunch of small wrapper classes one for each type of tuple.
hope that makes sense
marius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20081113/cede848a/attachment.htm
More information about the bazaar
mailing list