Skip to content

Reduce memory load #1

@qgustavor

Description

@qgustavor

Possible changes:

  • Use WORKERFS so files can be read without copying the entire data into memory.
  • Decompress files on demand. Maybe something like this:
// Archive opening (aka RAROpenArchiveEx)
const archive = await libunrar.openFile(blob_or_file)
// archive.entries is a array of files (or something similar)

// File decompressing
const data = await archive.entries[0].read()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions