<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/pkgcachegen.h, 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-23T14:13:04Z</updated>
<entry>
<title>Pass the old map size to ReMap()</title>
<updated>2016-01-23T14:13:04Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-23T14:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=19819ac58a420275e0ae9aa7e2a34c72cba8af5e'/>
<id>urn:sha1:19819ac58a420275e0ae9aa7e2a34c72cba8af5e</id>
<content type='text'>
This allows us to check if a value to be remapped was inside
the cache or not, which will become useful at a later point.

Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>pkgCacheGenerator::hash: Do not call tolower_ascii()</title>
<updated>2016-01-08T00:34:53Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-08T00:34:53Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=a0e3c0f55dc20b90f5f7d6d162135c9fef370686'/>
<id>urn:sha1:a0e3c0f55dc20b90f5f7d6d162135c9fef370686</id>
<content type='text'>
Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>pkgCacheGenerator::StoreString: Get rid of std::string</title>
<updated>2016-01-08T00:30:18Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-08T00:27:01Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=869700d839a1695fe00734592bd504d59386e4b9'/>
<id>urn:sha1:869700d839a1695fe00734592bd504d59386e4b9</id>
<content type='text'>
Instead of storing a string -&gt; map_stringitem_t mapping, create
our own data type that can point to either a normal string or
a string inside the cache.

This avoids the creation of any string and improves performance
slightly (about 4%).
</content>
</entry>
<entry>
<title>pkgCacheGenerator: Use StringView for toString</title>
<updated>2016-01-07T23:41:14Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2016-01-07T23:41:14Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=dd592790c8f1be4925f74266742c163516ab80c7'/>
<id>urn:sha1:dd592790c8f1be4925f74266742c163516ab80c7</id>
<content type='text'>
This removes some minor overhead.

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>
<entry>
<title>pkgCacheGenerator: Allow passing down an already created cache</title>
<updated>2015-12-29T15:29:05Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-29T14:59:41Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=f161603953f92cc3e778439d7149e5b852f65277'/>
<id>urn:sha1:f161603953f92cc3e778439d7149e5b852f65277</id>
<content type='text'>
If we already have opened a cache, there is no point in having
to open it again.
</content>
</entry>
<entry>
<title>pkgcachegen.h: Hack around unordered_map not existing before C++11</title>
<updated>2015-12-27T15:43:28Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-27T15:43:28Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=2837a71877c0f5c1aca8f70e30130018bc53acac'/>
<id>urn:sha1:2837a71877c0f5c1aca8f70e30130018bc53acac</id>
<content type='text'>
This is for public users only, which cannot use the class at all,
except for the static methods.
</content>
</entry>
<entry>
<title>pkgcachegen: Use std::unordered_map instead of std::map</title>
<updated>2015-12-27T00:46:06Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-27T00:33:38Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e9185eca390435b4060ef26c7c69d39f994da7a7'/>
<id>urn:sha1:e9185eca390435b4060ef26c7c69d39f994da7a7</id>
<content type='text'>
std::unordered_map is faster than std::map in our use case,
reducing cache generation time by about 10% in my benchmark.
</content>
</entry>
<entry>
<title>add messages to our deprecation warnings in libapt</title>
<updated>2015-11-27T14:40:47Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-11-27T14:40:47Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=5dd00edbcf702cac1ea22392796c65881a8ef6f9'/>
<id>urn:sha1:5dd00edbcf702cac1ea22392796c65881a8ef6f9</id>
<content type='text'>
Git-Dch: Ignore
</content>
</entry>
<entry>
<title>Drop C++11 elements from headers</title>
<updated>2015-08-11T11:59:15Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-08-11T09:49:21Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=350d30d24fee9a1aa5fedc7a30e7416999653417'/>
<id>urn:sha1:350d30d24fee9a1aa5fedc7a30e7416999653417</id>
<content type='text'>
</content>
</entry>
</feed>
