beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Sears (JIRA)" <>
Subject [jira] [Comment Edited] (BEAM-683) Make BZIP compressed files splittable
Date Thu, 29 Sep 2016 04:11:20 GMT


Tim Sears edited comment on BEAM-683 at 9/29/16 4:10 AM:

I worked on this a bitt, adding a {{seek(byte_offset)}} and {{get_block()}} method to the
_CompressedFile class (see [commit|]).

was (Author: tim1357):
I worked on this a bitt, adding a {{ seek(byte_offset) }} and {{ get_block() }} method to
the _CompressedFile class (see [commit|]).

> Make BZIP compressed files splittable 
> --------------------------------------
>                 Key: BEAM-683
>                 URL:
>             Project: Beam
>          Issue Type: Wish
>            Reporter: Tim Sears
>            Priority: Minor
>   Original Estimate: 10h
>  Remaining Estimate: 10h
> Bzip2 is compressed as blocks, so it should be possible to do dynamic splitting. To do
this: Seek to a location in the bzip, then keep seeking until you find the 6 byte block-start
sequence 0x314159265359 (which is the 12 digit approximation of pi). You can use a bzip2 decompressor
from that point onwards.

This message was sent by Atlassian JIRA

View raw message