<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/deb, branch 1.2.1</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.2.1</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.2.1'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2016-01-25T16:17:54Z</updated>
<entry>
<title>Use c++11 for loop in AptHistoryRequestingUser</title>
<updated>2016-01-25T16:17:54Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@debian.org</email>
</author>
<published>2016-01-25T16:17:54Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=48fe8dff592f6769bf2c67b8e7befd7091068f7d'/>
<id>urn:sha1:48fe8dff592f6769bf2c67b8e7befd7091068f7d</id>
<content type='text'>
Git-Dch: ignore
</content>
</entry>
<entry>
<title>Store "Requested-By" user in history.log in a simpler format</title>
<updated>2016-01-25T15:49:48Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@debian.org</email>
</author>
<published>2016-01-25T15:49:48Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=46e88ba252230858abe891d5815fce884d3cf35d'/>
<id>urn:sha1:46e88ba252230858abe891d5815fce884d3cf35d</id>
<content type='text'>
Git-Dch: ignore
Thanks: David Kalnischkies
</content>
</entry>
<entry>
<title>Log calling SUDO_USER or PKEXEC_UID in history.log</title>
<updated>2016-01-25T13:44:42Z</updated>
<author>
<name>Michael Vogt</name>
<email>mvo@debian.org</email>
</author>
<published>2016-01-25T13:44:42Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=a6fd0c5cc412afd5dac7a9952cab741e48342488'/>
<id>urn:sha1:a6fd0c5cc412afd5dac7a9952cab741e48342488</id>
<content type='text'>
Thanks: Thomas Reusch
</content>
</entry>
<entry>
<title>use APT::StringView for GrabWord</title>
<updated>2016-01-15T17:19:16Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-01-15T16:54:43Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3b4045fc31baf3aa580bd695695d579c30a481b8'/>
<id>urn:sha1:3b4045fc31baf3aa580bd695695d579c30a481b8</id>
<content type='text'>
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>fix M-A:foreign provides creation for unknown archs</title>
<updated>2016-01-14T22:08:02Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-01-14T19:13:16Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=62428dbc17ffa7b5b8188e88609a9438428d6024'/>
<id>urn:sha1:62428dbc17ffa7b5b8188e88609a9438428d6024</id>
<content type='text'>
Architectures for packages which do not belong to the native nor a
foreign architecture (dubbed barbarian for now) which are marked
M-A:foreign still provide in their own architecture even if not for
others. Also, other M-A:foreign (and allowed) packages provide in these
barbarian architectures.
</content>
</entry>
<entry>
<title>debListParser: Convert another ParseDepends to StringView</title>
<updated>2016-01-08T20:08:51Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-08T19:57:23Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e9a1e5f9a37b8ddcdb98f2a0608f262e0863673a'/>
<id>urn:sha1:e9a1e5f9a37b8ddcdb98f2a0608f262e0863673a</id>
<content type='text'>
I overlooked this

Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>keep compressed indexes in a low-cost format</title>
<updated>2016-01-08T14:40:01Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-01-07T19:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=0179cfa83cf0042235eda41db7f35c420781c63e'/>
<id>urn:sha1:0179cfa83cf0042235eda41db7f35c420781c63e</id>
<content type='text'>
Downloading and storing are two different operations were different
compression types can be preferred. For downloading we provide the
choice via Acquire::CompressionTypes::Order as there is a choice to
be made between download size and speed – and limited by whats available
in the repository.

Storage on the other hand has all compressions currently supported by
apt available and to reduce runtime of tools accessing these files the
compression type should be a low-cost format in terms of decompression.

apt traditionally stores its indexes uncompressed on disk, but has
options to keep them compressed. Now that apt downloads additional files
we also deal with files which simply can't be stored uncompressed as
they are just too big (like Contents for apt-file). Traditionally they
are downloaded in a low-cost format (gz) as repositories do not provide
other formats, but there might be even lower-cost formats and for
download we could introduce higher-cost in the repositories.

Downloading an entire index potentially requires recompression to
another format, so an update takes potentially longer – but big files
are usually updated via pdiffs which has to de- and re-compress anyhow
and does it on the fly anyhow, so there is no extra time needed and in
general it seems to be benefitial to invest the time in update to save
time later on file access.
</content>
</entry>
<entry>
<title>AvailableDescriptionLanguages: Use one string for all iterations</title>
<updated>2016-01-08T11:37:58Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-08T11:37:58Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=4a666d28d7f30f2eb856ffef0ea0343be6cccef1'/>
<id>urn:sha1:4a666d28d7f30f2eb856ffef0ea0343be6cccef1</id>
<content type='text'>
Do not create strings within the loop, that creates one string
per language and does more work than needed. Instead, reserve
enough space at the beginning and assign the prefix, and then
resize and append inside the loop.

Also call exists with the string itself instead of the c_str(),
this means that the lookup uses the size information in the
string now and does not have to call strlen() on it.
</content>
</entry>
<entry>
<title>Replace compare() == 0 checks with this == other checks</title>
<updated>2016-01-07T23:52:29Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-07T23:52:29Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=57590d3c6e6b055402c938c3baebf1d872c58f7e'/>
<id>urn:sha1:57590d3c6e6b055402c938c3baebf1d872c58f7e</id>
<content type='text'>
This improves performance, as we now can ignore unequal strings
based on their length already.

Gbp-Dch: ignore
</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>
</feed>
