[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNUnet-developers] NS updates
From: |
Christian Grothoff |
Subject: |
Re: [GNUnet-developers] NS updates |
Date: |
Sat, 02 Mar 2013 20:34:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 |
On 03/02/2013 02:25 PM, LRN wrote:
> On 02.03.2013 16:49, LRN wrote:
>
>> A compromise solution would be to enable hashmap check, but make
>> it more sophisticated - take more than just "id" into account.
>> Also, when a previously-traversed item is encountered, don't just
>> return immediately - add the item, and set it up so that choosing
>> it will make the selection jump to its other copy somewhere else
>> (which is the only copy that is selectable; through i'm not sure i
>> can make GtkComboBox do that...), also marking it as such, and then
>> return. So it will be a tree, but with loopends that user can
>> traverse.
>
> Here's how it looks (hashes last_id, next_id, uri and last_meta).
> Didn't even try to do that selection-jumping thing though. But it
> looks OK without it too, so maybe that's enough.
I agree that it looks OK, I'm just not sure about the utility of
allowing loops. But I guess it is as much work to detect and flag them,
as it would be to detect and disallow them, so maybe this is already
just fine.
Happy hacking!
-Christian