diff options
author | Julian Andres Klode <jak@debian.org> | 2016-01-08 01:27:01 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-01-08 01:30:18 +0100 |
commit | 869700d839a1695fe00734592bd504d59386e4b9 (patch) | |
tree | 3ad6f069d50aa4d44cc733c11b1231d04df4856b /methods/mirror.cc | |
parent | 57590d3c6e6b055402c938c3baebf1d872c58f7e (diff) |
pkgCacheGenerator::StoreString: Get rid of std::string
Instead of storing a string -> 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%).
Diffstat (limited to 'methods/mirror.cc')
0 files changed, 0 insertions, 0 deletions