<p></p>
<p>Realized that we can (and should) optimize this considerably by avoiding redoing the path splitting for files in the same directory, and stopping on a given path when no new strings got added. This reduces the number of lookups for a simple testcase of fedora-release from ~300 to ~20, for large packages like the kernel the initial naive version would likely even show up in wall-clock...</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/1446#issuecomment-731028241">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZUZ5YTI3E3EBEH7B5P3SQYTSPANCNFSM4T3PXLGQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ADLPZUZUKWVXNQWHF2S7ETDSQYTSPA5CNFSM4T3PXLG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFOJJWEI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/1446#issuecomment-731028241",
"url": "https://github.com/rpm-software-management/rpm/pull/1446#issuecomment-731028241",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>