3 ms·
I can't understand the illustration in the README, why cubes can be placed outside the 2 slots? What's the point of having slots if cubes can be outside?
by billconan 6y ago
I can't understand the illustration in the README, why cubes can be placed outside the 2 slots? What's the point of having slots if cubes can be outside?
- pretty_lorelei 6y agoAs I understand it, it's a tuple of lists of cubes, i.e. a slot stores a head of a linked list of cubes.
- davidrusu 6y agoMaintainer here, it's meant to be a visual representation of a 2-tuple of natural numbers. But I get your point, there was another commentator here who expressed similar frustrations. When I find some time, I'll see about picking a clearer example for the README
- billconan 6y agothen maybe it should say: > a 2-tuple like structure that stores cubes in each slot. instead of > a 2-tuple like structure that stores cubes in two slots. The flowing also confused me: > It allows us to store a value and resolves concurrently set values by keeping both values. "both" indicates the concurrency can only happen between two parties. I think saying "keeping all values" is more accurate.
- eigenrick 6y agoI say great work in coming up with any visual example at all. Visualizing multi-dimensional merges isn't easy. :) That said, maybe an additional example of merging JSON blobs might be more intuitive for some.