Gentoo Archives: gentoo-dev

From: magic-gentoo@××××××××××××××.de
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] speeding up usage of portage in e-file / portage file list
Date: Sat, 23 May 2020 20:02:22
1 Hi,
2 the current e-file tool of app-portage/pfl is written in bash. e-file is
3 a CLI tool which searches for a given file and list
4 additional informations based on the local portage. Latter is done by
5 grep'ing through the ebuild files which is fast but IMHO not very smart.
7 I rewrote e-file in python by using the portage API [1]. But loading the
8 API slows down the whole script. Is there any way to speed up my
9 implementation? Have I done something fundamentally wrong?
11 Thanks in advance
12 Daniel
14 [1]