-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempts on IPLD #90
Comments
Isn't this the same as previous suggestions but using |
Hy @davidar, I haven't read ALL the ipld threads yet. I think it is a slight modification of that, |
Overall, looks good. But I wonder why have the scheme introduce ordinal I understand that it is convenient to be able to address the names based on IMHO I think its best not to map the ordinal position of path element's I agree that such ordinal enumeration of path elements is useful, but might
On Fri, Apr 1, 2016 at 8:08 PM, Nicola Greco [email protected]
|
that is equivalent to, since array indexes can be mapped to a map where keys are the array indexes
|
Update: I added some notes on a possible way to encode it to have a cheaper link following, let me know |
Using Not sure if I understand the motivation behind "HTTPLinks". You can also have mutable links with Another question is: how would you guarantee that the arrays on the objects will keep the order on their JSON representation? |
@diasdavid the MerkleLink and HTTPLink are just tags in my case and show how you could also have link that are non merkle. (Although my focus is IPFS-related) I was thinking of generalizing this to any type of urn/url/iri name. Is your question about supporting the array? In my case, I just map the array index to a map where the key is the original index. (I might not have understood the question or haven't considered the problem) |
@nicola I think we can close this? |
This has been discussed and lead eventually to #97 |
Following up the conversation that we had a couple of weeks ago, I took some time (with the help of @Stebalien) today and wrote down a path scheme that would keep the single
/
:https://github.com/nicola/merkle-paths
I will put up a very simple implementation some time soon, I want to hear feedbacks now!
Also, I added some examples, amongst those an attempt on how to do cyclic graphs using relative paths
/cc @jbenet @noffle @diasdavid @mildred
The text was updated successfully, but these errors were encountered: