<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/pkgcache.cc, branch 1.2.5</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.2.5</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.2.5'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2016-02-25T15:46:42Z</updated>
<entry>
<title>Fix crash with empty architecture list</title>
<updated>2016-02-25T15:46:42Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-02-25T15:46:42Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=9de2fd4d117e57824f4a0795efa7379995a804cb'/>
<id>urn:sha1:9de2fd4d117e57824f4a0795efa7379995a804cb</id>
<content type='text'>
If the architecture list is empty somehow, fail normally.

LP: #1549819
</content>
</entry>
<entry>
<title>parse version correctly from binary Source field</title>
<updated>2016-01-26T18:17:11Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-01-26T18:17:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=d17f2b1b748c8d297474707cfc9706f673ef0346'/>
<id>urn:sha1:d17f2b1b748c8d297474707cfc9706f673ef0346</id>
<content type='text'>
In commit a221efc331693f8905da870141756c892911c433 I promoted the source
package name and version to the binary cache for faster access by e.g.
EDSP, but due to changing the interpretation length to soon we always
ignored the version part of the Source field, so that packages ended up
having the binary version as source version – which while usually just
fine it is wrong for binary rebuilds.

Closes: 812492
</content>
</entry>
<entry>
<title>use consistently the last : as name:arch separator</title>
<updated>2016-01-25T17:15:44Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-01-22T01:00:42Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=074564d40c21cb063bf327e9151a4e24cd9534b5'/>
<id>urn:sha1:074564d40c21cb063bf327e9151a4e24cd9534b5</id>
<content type='text'>
Proper debian packages do not contain ':' in the package name, so for
real packages this is a non-issue, but apt itself frequently makes use
of packages with such an illegal name for internal proposes.

Git-Dch: Ignore
</content>
</entry>
<entry>
<title>Store the size of strings in the cache</title>
<updated>2016-01-08T20:20:25Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-08T10:12:14Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=60d523e2ae93a6c5bc396b6bede2544271fb1f2e'/>
<id>urn:sha1:60d523e2ae93a6c5bc396b6bede2544271fb1f2e</id>
<content type='text'>
By storing the size of the string in the cache, we can make use of
it when comparing the names in the hashtable in pkgCache::FindGrp.
</content>
</entry>
<entry>
<title>Switch performance critical code to use APT::StringView</title>
<updated>2016-01-07T18:59:08Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-07T18:16:23Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=eff0c22e59e65b6b63e854ff41eb091278e05714'/>
<id>urn:sha1:eff0c22e59e65b6b63e854ff41eb091278e05714</id>
<content type='text'>
This improves performance of the cache generation on my
ARM platform (4x Cortex A15) by about 10% to 20% from
2.35-2.50 to 2.1 seconds.
</content>
</entry>
<entry>
<title>Increase APT::Cache-HashTableSize default to 50503</title>
<updated>2016-01-03T16:56:49Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-03T16:45:26Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3b4cbca22f473708063c157cc75a2ef411fe6480'/>
<id>urn:sha1:3b4cbca22f473708063c157cc75a2ef411fe6480</id>
<content type='text'>
This drop the hash table utilization from a high 98%
to acceptable 74% on unstable, and the average bucket length
from 4.6 to 1.8.

This improves performance by about 5%, while increasing
the size of the cache by 0.2 out of 38MB, that is 0.5%.

48481 is a nice number
</content>
</entry>
<entry>
<title>apt-cache: stats: Show a table utilization as percentage</title>
<updated>2016-01-03T16:42:17Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-03T16:39:39Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=38a5b1ceeeca6ff530a2816a39bcd10d14c85d33'/>
<id>urn:sha1:38a5b1ceeeca6ff530a2816a39bcd10d14c85d33</id>
<content type='text'>
Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>Add support for calculating hashes over the entire cache</title>
<updated>2015-12-29T15:37:57Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-29T14:11:11Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=25c7a09d4a207bac875817559580f62c9ee07cb5'/>
<id>urn:sha1:25c7a09d4a207bac875817559580f62c9ee07cb5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch to DJB hashing and use prime number as table size</title>
<updated>2015-12-29T01:49:29Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-29T01:40:18Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0748f03aca4db260ad964b44519e0971647d1e9d'/>
<id>urn:sha1:0748f03aca4db260ad964b44519e0971647d1e9d</id>
<content type='text'>
On my testing system, consisting of unstable and experimental,
this reduces the average chain from 6.5 to 4.5, and the longest
chain from 17 to 15.
</content>
</entry>
<entry>
<title>pkgcache: Make hash arch-independent using fixed size integer</title>
<updated>2015-12-14T15:16:56Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-14T15:15:36Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=6755060951828412e19e58afe5361f9ad06e5deb'/>
<id>urn:sha1:6755060951828412e19e58afe5361f9ad06e5deb</id>
<content type='text'>
This helps writing test cases. Also adapt the test case that
expected 64-bit.

Nothing changes performance wise, the distribution of the hash
values remains intact.
</content>
</entry>
</feed>
