Hi,
the current e-file tool of app-portage/pfl is written in bash. e-file is a CLI tool which searches portagefilelist.de for a given file and list additional informations based on the local portage. Latter is done by grep'ing through the ebuild files which is fast but IMHO not very smart.

I rewrote e-file in python by using the portage API [1]. But loading the API slows down the whole script. Is there any way to speed up my implementation? Have I done something fundamentally wrong?

Thanks in advance
Daniel

[1] https://github.com/portagefilelist/client/blob/e-file-python/bin/e-file

Reply via email to