You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because this takes the same time as the try/catch call and prevents the parser from needing to re-expand the context during parsing thus reducing repeated operations.
This will also remove the need for caching objects in the context caching work.
The text was updated successfully, but these errors were encountered:
I'm pretty sure we need the old code, to enforce the ERROR_CODES.INVALID_SCOPED_CONTEXT error, which is required by the spec in specific cases (see spec tests in the jsonld-streaming-parser).
But if you find another way to throw this specific coded error, then it's fine by me :-)
Rather than
jsonld-context-parser.js/lib/ContextParser.ts
Lines 615 to 627 in 107a686
This is because this takes the same time as the
try/catch
call and prevents the parser from needing to re-expand the context during parsing thus reducing repeated operations.This will also remove the need for caching objects in the context caching work.
The text was updated successfully, but these errors were encountered: