projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
777e57c
)
note on why gnunet-gns can be slow
author
Christian Grothoff
<christian@grothoff.org>
Fri, 31 May 2019 23:06:09 +0000
(
01:06
+0200)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 31 May 2019 23:06:09 +0000
(
01:06
+0200)
src/gns/gns_tld_api.c
patch
|
blob
|
history
diff --git
a/src/gns/gns_tld_api.c
b/src/gns/gns_tld_api.c
index c4bf784774e1406ef63fe79e4fa84908cbd6e651..fa4c9c0574dfd996e44f4c18ee1aa9398a33a521 100644
(file)
--- 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
-
pre
fix if we have thousands of egos. We should modify
- the IDENTITY API to do the longest
pre
fix matching
+
suf
fix if we have thousands of egos. We should modify
+ the IDENTITY API to do the longest
suf
fix 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);