<feed xmlns='http://www.w3.org/2005/Atom'>
<title>apt/apt-pkg/contrib/strutl.cc, branch 1.2.3</title>
<subtitle>Debians commandline package manager</subtitle>
<id>https://git.kalnischkies.de/apt/atom?h=1.2.3</id>
<link rel='self' href='https://git.kalnischkies.de/apt/atom?h=1.2.3'/>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/'/>
<updated>2016-02-03T14:54:10Z</updated>
<entry>
<title>Avoid temporary strings in SubstVar.</title>
<updated>2016-02-03T14:54:10Z</updated>
<author>
<name>Adrian Wielgosik</name>
<email>adrian.wielgosik@gmail.com</email>
</author>
<published>2016-02-02T22:15:25Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=732510fef9af5addc5e3ff1a79ce8c9658711fb6'/>
<id>urn:sha1:732510fef9af5addc5e3ff1a79ce8c9658711fb6</id>
<content type='text'>
Microoptimization, but still gives a measurable 2-3% improvement
when using commands with lots of output like `apt list`.
</content>
</entry>
<entry>
<title>drop explicit check for EWOULDBLOCK if it has the same value as EAGAIN</title>
<updated>2016-01-26T14:32:15Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2016-01-25T19:05:54Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=3b0e76ec9c9386e428944f621b970d691884b84a'/>
<id>urn:sha1:3b0e76ec9c9386e428944f621b970d691884b84a</id>
<content type='text'>
gcc correctly reports that we check for the same value twice, expect
that the manpage of read(2) tells us to do it for portability, so to
make both sides happy lets add a little #if'ing here.

Reported-By: gcc-6
Git-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>strutl.cc: Add declarations for the compat _ascii() functions</title>
<updated>2015-12-29T12:23:13Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-29T12:21:45Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=390344f9e754e9875d316d0cba192aac113240b1'/>
<id>urn:sha1:390344f9e754e9875d316d0cba192aac113240b1</id>
<content type='text'>
This shuts up gcc

Gbp-Dch: ignore
</content>
</entry>
<entry>
<title>Turn tolower_ascii() and isspace_ascii() into inline functions</title>
<updated>2015-12-29T02:19:51Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-29T02:19:51Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=98eb4e9eec4e2e1fc62fe018d536b89f5524cd21'/>
<id>urn:sha1:98eb4e9eec4e2e1fc62fe018d536b89f5524cd21</id>
<content type='text'>
To preserve compatibility, the new inline functions have _inline
as a suffix, and a macro defines the old names to refer to the
inline variants.

The old functions are still preserved for binary compatibility.

Also simplify the implementation of both functions.
</content>
</entry>
<entry>
<title>Hex2Digit: Do not use isxdigit()</title>
<updated>2015-12-27T02:16:55Z</updated>
<author>
<name>Niels Thykier</name>
<email>nthykier@debian.org</email>
</author>
<published>2015-12-27T02:16:55Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=fc8f1c22523ffc54f5440e19663aa1009b4126ca'/>
<id>urn:sha1:fc8f1c22523ffc54f5440e19663aa1009b4126ca</id>
<content type='text'>
We directly check if we are a hex digit in HexDigit, so use that
information.

[jak@debian.org: Commit message wording]
</content>
</entry>
<entry>
<title>Convert most callers of isspace() to isspace_ascii()</title>
<updated>2015-12-27T00:20:41Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-26T23:51:59Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=74dedb4ae28fd4f7c89bf769708d4f7edc7ed79a'/>
<id>urn:sha1:74dedb4ae28fd4f7c89bf769708d4f7edc7ed79a</id>
<content type='text'>
This converts all callers that read machine-generated data,
callers that might work with user input are not converted.
</content>
</entry>
<entry>
<title>Introduce isspace_ascii() for use by parsers</title>
<updated>2015-12-26T23:42:37Z</updated>
<author>
<name>Julian Andres Klode</name>
<email>jak@debian.org</email>
</author>
<published>2015-12-26T23:42:37Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=98b063439156595f74c89e923bf4d3fd51a3b36f'/>
<id>urn:sha1:98b063439156595f74c89e923bf4d3fd51a3b36f</id>
<content type='text'>
This is like isspace(), but ignores the current locale.
</content>
</entry>
<entry>
<title>encode UTF-8 characters correctly in QuoteString</title>
<updated>2015-11-05T11:21:33Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-11-04T22:38:40Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=4453cfdcf42f7fe6859bb0fc6b310a2a391bee77'/>
<id>urn:sha1:4453cfdcf42f7fe6859bb0fc6b310a2a391bee77</id>
<content type='text'>
Limit the field length to a char to avoid bogus FF for
utf-8 characters with the default length.

Closes: 799123
</content>
</entry>
<entry>
<title>apply various style suggestions by cppcheck</title>
<updated>2015-08-10T15:24:01Z</updated>
<author>
<name>David Kalnischkies</name>
<email>david@kalnischkies.de</email>
</author>
<published>2015-06-16T22:14:10Z</published>
<link rel='alternate' type='text/html' href='https://git.kalnischkies.de/apt/commit/?id=e8afd16892e87a6e2f17c1019ee455f5583387c2'/>
<id>urn:sha1:e8afd16892e87a6e2f17c1019ee455f5583387c2</id>
<content type='text'>
Some of them modify the ABI, but given that we prepare a big one
already, these few hardly count for much.

Git-Dch: Ignore
</content>
</entry>
</feed>
