From: Christian Grothoff Date: Fri, 31 May 2019 23:06:09 +0000 (+0200) Subject: note on why gnunet-gns can be slow X-Git-Tag: v0.11.5~36 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d9269fd9b75fb57dc7848073bfc754a2be1cf897;p=oweals%2Fgnunet.git note on why gnunet-gns can be slow --- 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, GNUNET_free (dot_tld); } /* FIXME: this call is still shitty slow to do the longest - prefix if we have thousands of egos. We should modify - the IDENTITY API to do the longest prefix matching + suffix if we have thousands of egos. We should modify + the IDENTITY API to do the longest suffix matching inside of the identity service and not do an O(n) IPC! */ ltr->id_co = GNUNET_IDENTITY_connect (ltr->gns_handle->cfg, &identity_zone_cb, ltr);