Skip to content

Suggestion: Indexed bzip2 writer that calculates offsets while writing #16

@thomasj02

Description

@thomasj02

I'd like to use indexed_bzip2 to read files that I've previously written.

Presumably, it's low-cost to calculate the offsets on the fly while writing the file, instead of having to re-open the bz2 file and calculate the offsets after the write is complete. If that were possible, then I could save the offsets as described at https://github.com/mxmlnkn/indexed_bzip2/tree/master/python/indexed_bzip2#storing-and-loading-the-block-offset-map so that they would never have to be calculated separately.

This would make the overhead of using indexed_bzip2 significantly lower.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions