8000 slow stream decompression · Issue #218 · python-lz4/python-lz4 · GitHub
[go: up one dir, main page]

Skip to content
slow stream decompression #218
Open
Open
@danielhrisca

Description

@danielhrisca

Hello,

I've followed the documentation and have compressed a 2GB file using the LZ4StreamCompressor with a page size of 1MB.

The compression speed is as expected, but when I use the LZ4StreamDecompressor I get very slow decompression speed. I've tried using a read-only mmap of the compressed file, and also loading the whole file in a bytes or bytearray object, but the speed is low in all cases at around 200KB/s (yes kilobytes)

Any ideas what I might try?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedstreamRelated to stream compression bindings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0