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

[Question] How to force single literal streams during compression #3857

Closed
roynalnaruto opened this issue Jan 1, 2024 · 1 comment
Closed
Assignees
Labels

Comments

@roynalnaruto
Copy link

I have a question related to configuring the encoder. I couldn't locate in the specifications how to configure this part, so decided to ask here.

During compression, is there an encoder config/parameter that ensures:

  • A single literal stream LSTREAM1 is used in the zstd compressed blocks
  • consequently, the jump table is skipped

Thank you :)

@Cyan4973 Cyan4973 self-assigned this Jan 1, 2024
@Cyan4973
Copy link
Contributor

Cyan4973 commented Jan 1, 2024

  1. There is no such parameter (at least not yet).
    Currently, the encoder selects automatically which one (1-stream, 4-streams) to employ,
    mostly based on the size of literals buffers.
  2. The single literal stream is limited to 1 KB max. This is a hard format limitation.
    As a consequence, single stream cannot be unconditionally selected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants