ipld / specs

Content-addressed, authenticated, immutable data structures
Other
592 stars 108 forks source link

Add ExplorePath selector proposal. #240

Closed creationix closed 4 years ago

creationix commented 4 years ago

Add a new selector type that is optimized for the common use case of deeply nested field access.

This allows for a more compact serialization of the selector as well as giving implementations a place to optimize the runtime for this use case.

vmx commented 4 years ago

I surely like the idea. But at the moment I'd like to keep Selectors as minimal as possible to make it easy to implement and also iterate in case we want to change things in the future (Selectors have gone through so many iterations already). Hence I'd prefer not merging this one.

creationix commented 4 years ago

Fine with me.