We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The CBOR codec is optimized for encoding and decoding modes to be created at startup just once and then reused concurrently.
Recreating options & modes on each call to encode like this creates overhead:
otel-arrow-adapter/pkg/otel/common/cbor.go
Line 45 in bca2620
Quick Start has a section about using modes: https://github.com/fxamacker/cbor#quick-start
Here's a more extensive example with security considerations: https://github.com/x448/safer-cbor/blob/master/cbor.go.txt
For determinism, this returns presets for Core Deterministic Encoding Requirements as defined in IETF STD 94 (RFC 8949):
func CoreDetEncOptions() EncOptions
The text was updated successfully, but these errors were encountered:
lquerel
No branches or pull requests
The CBOR codec is optimized for encoding and decoding modes to be created at startup just once and then reused concurrently.
Recreating options & modes on each call to encode like this creates overhead:
otel-arrow-adapter/pkg/otel/common/cbor.go
Line 45 in bca2620
Quick Start has a section about using modes:
https://github.com/fxamacker/cbor#quick-start
Here's a more extensive example with security considerations:
https://github.com/x448/safer-cbor/blob/master/cbor.go.txt
For determinism, this returns presets for Core Deterministic Encoding Requirements as defined in IETF STD 94 (RFC 8949):
The text was updated successfully, but these errors were encountered: