Skip to content
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

Consider lazy assignment of terms to IDs, based on presence in payload #81

Closed
dlongley opened this issue Jun 13, 2024 · 1 comment
Closed

Comments

@dlongley
Copy link
Member

dlongley commented Jun 13, 2024

If we are able to assign terms to IDs based on their presence in the payload, then large contexts with many (potentially unused) terms will not use up smaller ID space and any future additions to existing contexts (despite it being best practice not to change well-versioned contexts) would not change the CBOR-LD encoding of an existing payload.

This approach would probably need a new header to indicate the different way of assigning term IDs for backwards compatibility.

@dlongley
Copy link
Member Author

dlongley commented Aug 6, 2024

Closing this as it would be a new processing mode. We can add such a mode in the future if we want to, we've added an area in the registry (or will add) to allow for new processing modes over time. A registry entry will say what processing mode it uses, defaulting to the "default processing mode" (which is the only mode defined right now).

@dlongley dlongley closed this as completed Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant