Re: [PATCH] Minor sqlite.py improvements
James Antill <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
Ville Skyttä <[email protected]> writes: > Here's a couple of minor sqlite.py improvements: > > 0003-SQL-escape-patterns-only-once-in-_buildPkgObjList.patch: > No need to escape patterns for each repo, just do it once. > > 0004-Use-instead-of-GLOB-when-possible-in-_buildPkgObjL.patch > Use = instead of GLOB when possible, results in insignificant but measurable > speedup for larger repos. Slightly ugly repurposing of the existing "esc" > tuple position but not that much uglier than the existing code IMO. Thanks, applied. -- James Antill -- [email protected]