Re: [gentoo-portage-dev] [PATCH] Manifest2 reloaded

2006-03-16 Thread Brian Harring
On Thu, Mar 16, 2006 at 11:06:12AM +0200, tvali wrote: > Just in case ...what i have to do to test those resultse Command line invocation is listed above the test results; python -m timeit -s 's="asdf"*400;s+="fdsa.ebuild"' 's.endswith(".ebuild")' fex (for example). > ...ps. should i send it here

Re: [gentoo-portage-dev] [PATCH] Manifest2 reloaded

2006-03-16 Thread tvali
Just in case ...what i have to do to test those results ...ps. should i send it here if i have a working c++ class for forking -- it evolved from that python thought here, which evolved into general interest to those pipes and interacting with other apps in my case (which is, as i have understood

Re: [gentoo-portage-dev] [PATCH] Manifest2 reloaded

2006-03-15 Thread Brian Harring
On Wed, Mar 15, 2006 at 11:14:04PM -0800, Donnie Berkholz wrote: > Brian Harring wrote: > > python -m timeit -s 's="asdf"*400;s+="fdsa.ebuild"' 's.endswith(".ebuild")' > > 100 loops, best of 3: 0.88 usec per loop > > > python -m timeit -s 's="asdf"*400;s+="fdsa.ebuild"' 's[-7:] == ".ebuild"' >

Re: [gentoo-portage-dev] [PATCH] Manifest2 reloaded

2006-03-15 Thread Donnie Berkholz
Brian Harring wrote: > python -m timeit -s 's="asdf"*400;s+="fdsa.ebuild"' 's.endswith(".ebuild")' > 100 loops, best of 3: 0.88 usec per loop > python -m timeit -s 's="asdf"*400;s+="fdsa.ebuild"' 's[-7:] == ".ebuild"' > 100 loops, best of 3: 0.564 usec per loop > Use endswith > oddly, wo

Re: [gentoo-portage-dev] [PATCH] Manifest2 reloaded

2006-03-15 Thread Brian Harring
On Wed, Mar 15, 2006 at 09:53:24PM -0800, Zac Medico wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Marius Mauch wrote: > > Marius Mauch schrieb: > >> The first should be delayed until there is some consensus how the gpg > >> stuff should work in the future, the others I don't see th

Re: [gentoo-portage-dev] [PATCH] Manifest2 reloaded

2006-03-15 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marius Mauch wrote: > Marius Mauch schrieb: >> The first should be delayed until there is some consensus how the gpg >> stuff should work in the future, the others I don't see the use for. >> Also I only checked portage.py for changes, so emerge/repoma

Re: [gentoo-portage-dev] [PATCH] Manifest2 reloaded

2006-03-15 Thread Marius Mauch
Marius Mauch schrieb: The first should be delayed until there is some consensus how the gpg stuff should work in the future, the others I don't see the use for. Also I only checked portage.py for changes, so emerge/repoman/... might still have to be fixed. Last but not least: I did some basic tes

[gentoo-portage-dev] [PATCH] Manifest2 reloaded

2006-03-03 Thread Marius Mauch
So while on my way to FOSDEM I decided to do something useful with the time and wrote a new manifest2 implementation. This has nothing to do with the original prototype I posted a while ago, it's been written completely from scratch. Basically all functionality (creation, parsing, validation) is en