boringssl/crypto/bio
Adam Langley 29b186736c Precompute sorted array for error strings.
Previously, error strings were kept in arrays for each subdirectory and
err.c would iterate over them all and insert them at init time to a hash
table.

This means that, even if you have a shared library and lots of processes
using that, each process has ~30KB of private memory from building that
hash table.

This this change, all the error strings are built into a sorted list and
are thus static data. This means that processes can share the error
information and it actually saves binary space because of all the
pointer overhead in the old scheme. Also it saves the time taken
building the hash table at startup.

This removes support for externally-supplied error string data.

Change-Id: Ifca04f335c673a048e1a3e76ff2b69c7264635be
2015-02-09 17:35:31 -08:00
..
bio_mem.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
bio_test.c Enable more warnings & treat warnings as errors on Windows. 2015-01-31 00:18:55 +00:00
bio.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
buffer.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
CMakeLists.txt Precompute sorted array for error strings. 2015-02-09 17:35:31 -08:00
connect.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
fd.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
file.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
hexdump.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
internal.h Clean up use of Windows Platform SDK headers. 2015-01-28 20:36:49 +00:00
pair.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
printf.c Use _POSIX_C_SOURCE not _BSD_SOURCE. 2014-10-02 21:35:33 +00:00
socket_helper.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
socket.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00