Mailinglist Archive: zypp-devel (230 mails)
| < Previous | Next > |
Re: [zypp-devel] Re: RFC: ZYpp application layer comments
- From: Klaus Kaempf <kkaempf@xxxxxxx>
- Date: Tue, 5 Feb 2008 17:03:14 +0100
- Message-id: <20080205160314.GB31934@xxxxxxxxxxxxx>
* Michael Andres <ma@xxxxxxx> [Jan 28. 2008 15:11]:
I'd rather see _no_ application doing this. Depending on the number of
matching pool items, this might result in severe memory pressure.
Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
Or the Query will provide an iterator to the result. But not create
some result container. It's easy for the application to do this, if
desired.
set<PoolItem> result( query.begin(), query.end() );
I'd rather see _no_ application doing this. Depending on the number of
matching pool items, this might result in severe memory pressure.
Klaus
---
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |