summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-02-27 00:19:10 +0100
committerSimon Josefsson <simon@josefsson.org>2008-02-27 00:19:10 +0100
commit89e2f5525caf35164b4577d426bc6c51cefdf0e2 (patch)
tree264c5bbd2d6c4ddb775be78469a49075ef3eb355 /NEWS
parentb9bb8d03e09660477c74889059950532863dac55 (diff)
downloadgnutls-89e2f5525caf35164b4577d426bc6c51cefdf0e2.tar.gz
Optimize adding many trusted certificates.
See <http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS10
1 files changed, 10 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index d3b04a48d4..61ccaee0dd 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,16 @@ See the end for copying conditions.
* Version 2.3.3 (unreleased)
+** Importing many CA certificates are now considerably faster.
+This affect gnutls_certificate_set_x509_trust_mem,
+gnutls_certificate_set_x509_trust, and
+gnutls_certificate_set_x509_trust_file. The complexity was reduced
+from O(2*n^2) to O(n). When adding 206 files containing 408
+certificates, using gnutls_certificate_set_x509_trust_file, the time
+dropped from 40 seconds to 0.3 seconds. Thanks to Edgar Fuß for code
+to trigger the problem. See also
+<http://blog.josefsson.org/2008/02/27/real-world-performance-tuning-with-callgrind/>.
+
** API and ABI modifications:
No changes since last version.