On Wed, Sep 5, 2012 at 2:06 AM, Jorge Manuel B. S. Vicetto <jmbsvice...@gentoo.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 31-08-2012 20:46, Ciaran McCreesh wrote: > > <snip> > >> Also, we're getting rather a lot of *DEPEND variables here... If >> we're making people make major changes to their deps, which for >> HDEPEND we definitely would be, then the "it's expensive since >> people would have to redo their deps" argument against a combined >> DEPENDENCIES variable goes out of the window, so we should rethink >> that too. > > I have to agree with Ciaran, instead of multiplying DEPEND variables, > it's probably time we move to a single DEPENDENCIES variable.
So, let's say that I only want to apply a filter function against the buildtime dependencies, in that case I'd need to parse *all* the dependencies anyway? The complexity would become: O((b + r + p) * P) b = amount of buildtime dependencies r = amount of runtime dependencies p = amount of post-dependencies P = amount of packages i need to apply the filter to Instead of just: O(b * P) It sounds like a good "dis-optimization". Some pkgs have really long list of *DEPEND. > > - -- > Regards, > > Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org > Gentoo- forums / Userrel / Devrel / KDE / Elections / RelEng > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.19 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQIcBAEBAgAGBQJQRpeVAAoJEC8ZTXQF1qEP/UgQALd+7oqAODQA5bXdyqV+Qix+ > mDN66c/6UO4VS2dyhfCEyA3osJzFS4u6mIuR7uFpXoKXGGs+MYdl7EG9C0k48zUu > YLCDD56oyk6wACxBk7EHWVql1rvFoFemMUw5YUVq71w3FU9hrpBi/DXKsoAlCRyw > 4B2p6t8p6efll3vzbcz7M0LZseiox4GBTFCrtxR5zwgvx3b0gKvgU1Pv+AT3SBQK > J3IOxb09GSLCJKo56+iDHGuS5RwBBmdWP9l3+AdbjR2LoQ05f8o8a7/geg1Qqg/Z > gVVSo4WDN2kIDJOvCBuXuo95a0KKFt/zUgfwjsqe02fRu2mDiWAju4L6vk2WE316 > 4yfMULI6HrVUk3ra+O4ZW7eoOuRvPVDpr4vyCVetFe4bx+zmlo/CmzOg/2teMyoc > rlMvOigR/4D+wxX7mbw/0fwZ5tVUbZ2pkdEhKetlpDe+xbWY0LhaczKdizwF7BrT > d+BeazPGWBP/muY0s3VDu3KV/3TRS0tME8GRsDevA9nCfA2plU0ZmmZnTB69tLc+ > /dgdexHhc3IuA5eMObwOfSK6r9Jozlrv09TDvb6kHXm+0kqhV/W/aaS1qT4Bjlxd > psMjf9lSJHLcXuhtOz9OW4qmhp4BGCA8Rgeoq25Yw8E2eH0abvDbHR5U7u1hEpnQ > j6rJ0fZ27tfbMecd5i8b > =Zv/I > -----END PGP SIGNATURE----- > -- Fabio Erculiani