On 9/9/19 7:45 am, morganamilo wrote:
> Try and find an exact match via pkgcache before iterating the entire
> localdb.
>
> Gives a noticeable speed up for exact matches e.g. `pacman -T zlib`
>
Thanks. Applied.
> ---
>
> Do note this fails for versioned exact matches. "zlib>1" will not take
>
Try and find an exact match via pkgcache before iterating the entire
localdb.
Gives a noticeable speed up for exact matches e.g. `pacman -T zlib`
---
Do note this fails for versioned exact matches. "zlib>1" will not take
the faster route because alpm_db_get_pkgfromcache() does not work for
versi