summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/macros.h
Commit message (Collapse)AuthorAgeFilesLines
* replace every call to toupper with one to our own tolower_asciiDavid Kalnischkies2010-03-301-4/+6
| | | | | | | | | | This sounds like a premature optimization and since Mr. Knuth we all know that they are the root of all evil - but, and here it starts to be interesting: As the tolower_ascii method is by far the most called method we have (~60 Mio. times) and as we compare only strings containing ascii characters (package names, configuration options) using our own method reduces execution time of APT by 4% plus it avoids that the locale settings can influence us.
* [BREAK] merge MultiArch-ABI. We don't support MultiArch,David Kalnischkies2010-02-131-16/+16
| | | | | | | | | but we support the usage of the new ABI so libapt users can start to prepare for MultiArch (Closes: #536029) MultiArch isn't ready for Primetime usage for now, but the branch has managed to be a NOP if used in SingleArch-mode so we can start to promote the use of the new MultiArchable API-extensions.
* cleanup the error header a bit by moving the printf-macros outDavid Kalnischkies2010-01-301-0/+9
| | | | and remove the using std::string
* * apt-pkg/contrib/macros.h:David Kalnischkies2010-01-301-0/+79
- move the header system.h with a new name to the public domain, to be able to use it in other headers (Closes: #567662)