* Duncan Mac-Vicar P.
Klaus Kaempf wrote:
I'd like to reduce (to zero, actually) any loops 'over pool' in zypp applications.
Then why do you recommend a iterator? On what do you want to iterate on then?
Because it should hide the actual implementation of 'pool' or how solvables and their state are stored internally. Remember that long-term we want zypp to be 'transaction-based', removing the need of a huge, static, in-memory, mutex-protected data structure holding global state information.
( actually, in pool the iterator exists, but needs to be constructed using filter iterator and status filter, this could be wrapped each recommended I think )
Right. Klaus -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org