]> git.saurik.com Git - apt.git/commit
pkgCacheGenerator::StoreString: Move the string into the map
authorJulian Andres Klode <jak@debian.org>
Thu, 7 Jan 2016 23:25:45 +0000 (00:25 +0100)
committerJulian Andres Klode <jak@debian.org>
Thu, 7 Jan 2016 23:32:26 +0000 (00:32 +0100)
commitc5a858e39f83676fdf16f1bdae5966c96ee882ff
treed1db4e6d57f341750617eb875a35efa0696979cd
parent0e58689ae76e8155bc1f418323aa9e56c34187f6
pkgCacheGenerator::StoreString: Move the string into the map

Moving the string is likely faster than copying it. We could probably
avoid strings alltogether in the future using some more crazy code,
but I have not looked at that yet.

Gbp-Dch: ignore
apt-pkg/pkgcachegen.cc