aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-01 01:06:09 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-01 01:06:09 +0200
commitd9269fd9b75fb57dc7848073bfc754a2be1cf897 (patch)
treea9a42f7f16e05cc3f7a464834444bf1afb5eddac
parent777e57cfce5f0d688d4147bf183723d539db6134 (diff)
downloadgnunet-d9269fd9b75fb57dc7848073bfc754a2be1cf897.tar.gz
gnunet-d9269fd9b75fb57dc7848073bfc754a2be1cf897.zip
note on why gnunet-gns can be slow
-rw-r--r--src/gns/gns_tld_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gns_tld_api.c b/src/gns/gns_tld_api.c
index c4bf78477..fa4c9c057 100644
--- a/src/gns/gns_tld_api.c
+++ b/src/gns/gns_tld_api.c
@@ -337,8 +337,8 @@ GNUNET_GNS_lookup_with_tld (struct GNUNET_GNS_Handle *handle,
337 GNUNET_free (dot_tld); 337 GNUNET_free (dot_tld);
338 } 338 }
339 /* FIXME: this call is still shitty slow to do the longest 339 /* FIXME: this call is still shitty slow to do the longest
340 prefix if we have thousands of egos. We should modify 340 suffix if we have thousands of egos. We should modify
341 the IDENTITY API to do the longest prefix matching 341 the IDENTITY API to do the longest suffix matching
342 inside of the identity service and not do an O(n) IPC! */ 342 inside of the identity service and not do an O(n) IPC! */
343 ltr->id_co = 343 ltr->id_co =
344 GNUNET_IDENTITY_connect (ltr->gns_handle->cfg, &identity_zone_cb, ltr); 344 GNUNET_IDENTITY_connect (ltr->gns_handle->cfg, &identity_zone_cb, ltr);