diff options
| author | Florian Schmaus <flow@gentoo.org> | 2023-10-17 14:38:00 +0200 |
|---|---|---|
| committer | Florian Schmaus <flow@gentoo.org> | 2023-10-18 14:10:37 +0200 |
| commit | 83b08b7d9434e5829ddaee08562790a2d939fa99 (patch) | |
| tree | 1058a9abaebccf3ccb1fc74c6e6d7379506cf0cd /dev-cpp/htmlcxx/files/htmlcxx-0.87-c++17.patch | |
| parent | ed3cc96f11f8f1fc2bc12444122691ab6ec6b01c (diff) | |
| download | gentoo-83b08b7d9434e5829ddaee08562790a2d939fa99.tar.gz gentoo-83b08b7d9434e5829ddaee08562790a2d939fa99.tar.bz2 gentoo-83b08b7d9434e5829ddaee08562790a2d939fa99.zip | |
webapp.eclass: optimize webapp_serverowned() and inline webapp_strip_*()
Some ebuilds invoke webapp_serverowned() with -R, causing the eclass to
iterate over a large set of files. Within the iteration's body the
eclass forks multiple times to invoke the webapp_strip, which is very
inefficient and causes a huge slowdown.
This optimizes webapp_serverowned() by replacing the iteration and call
to the "strip" functions with a single equivalent invocation of find
to iterates all the files.
Furthermore, all remaining invocations of webapp_strip_*() are inlined.
Closes: https://bugs.gentoo.org/781860
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-cpp/htmlcxx/files/htmlcxx-0.87-c++17.patch')
0 files changed, 0 insertions, 0 deletions
