[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: note on things left to do
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: note on things left to do |
Date: |
Thu, 19 Jan 2017 15:58:52 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new aedd5919e note on things left to do
aedd5919e is described below
commit aedd5919e802370061850486c96da72b25df7f22
Author: Christian Grothoff <address@hidden>
AuthorDate: Thu Jan 19 15:58:50 2017 +0100
note on things left to do
---
src/cadet/gnunet-service-cadet-new_channel.c | 4 ++++
src/cadet/gnunet-service-cadet-new_peer.c | 12 ++++++++++++
2 files changed, 16 insertions(+)
diff --git a/src/cadet/gnunet-service-cadet-new_channel.c
b/src/cadet/gnunet-service-cadet-new_channel.c
index 92ab61543..5acd098b6 100644
--- a/src/cadet/gnunet-service-cadet-new_channel.c
+++ b/src/cadet/gnunet-service-cadet-new_channel.c
@@ -24,6 +24,10 @@
* @brief logical links between CADET clients
* @author Bartlomiej Polot
* @author Christian Grothoff
+ *
+ * TODO:
+ * - estimate max bandwidth using bursts and use to optimize
+ * transmission rate(s)
*/
#include "platform.h"
diff --git a/src/cadet/gnunet-service-cadet-new_peer.c
b/src/cadet/gnunet-service-cadet-new_peer.c
index 5b978ff77..47f725e09 100644
--- a/src/cadet/gnunet-service-cadet-new_peer.c
+++ b/src/cadet/gnunet-service-cadet-new_peer.c
@@ -24,6 +24,14 @@
* @brief Information we track per peer.
* @author Bartlomiej Polot
* @author Christian Grothoff
+ *
+ * TODO:
+ * - implement GCP_set_hello() / do HELLO advertising properly
+ * - optimize stopping/restarting DHT search to situations
+ * where we actually need it (i.e. not if we have a direct connection,
+ * or if we already have plenty of good short ones, or maybe even
+ * to take a break if we have some connections and have searched a lot (?))
+ * - optimize MQM ready scans (O(n) -> O(1))
*/
#include "platform.h"
#include "gnunet_util_lib.h"
@@ -195,6 +203,10 @@ struct CadetPeer
/**
* Number of message queue managers of this peer that have a message in
waiting.
+ *
+ * Used to quickly see if we need to bother scanning the @e msm_head DLL.
+ * TODO: could be replaced by another DLL that would then allow us to avoid
+ * the O(n)-scan of the DLL for ready entries!
*/
unsigned int mqm_ready_counter;
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: note on things left to do,
gnunet <=