* Re: [gentoo-dev] Portage QOS
@ 2014-01-10 7:54 99% ` heroxbd
0 siblings, 0 replies; 1+ results
From: heroxbd @ 2014-01-10 7:54 UTC (permalink / raw
To: gentoo-dev
Patrick Lauer <patrick@gentoo.org> writes:
> For python things you really want python or C instead of C++...
Well, we have boost-python to do python extensions in C++. And yes,
introducing boost as a dependency to portage is not cool.
>> I guess the dep-tree calculation is the slowest part.
> Yes, it's doing lots of silly dynamic things (backtracking), and
> portage codebase on average is not designed for speed.
>
> As a first step I would recommend profiling it and removing unneeded
> stuff (do less work!), rewriting parts in C is a lot of work and not
> needed for the first round of speedups.
Cython[1] can be used to generate C code quickly to avoid spending to much
time coding in C.
1. http://www.cython.org
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2014-01-09 7:24 [gentoo-dev] Portage QOS LTHR
2014-01-09 8:12 ` Alec Warner
2014-01-09 12:44 ` Igor
2014-01-09 14:12 ` Christopher Schwan
2014-01-09 15:26 ` Igor
2014-01-10 0:16 ` heroxbd
2014-01-10 0:31 ` Patrick Lauer
2014-01-10 7:54 99% ` heroxbd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox