Author serhiy.storchaka
Recipients nadeem.vawda, serhiy.storchaka, victorhooi
Date 2012-09-25.07:37:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <201209251037.40494.storchaka@gmail.com>
In-reply-to <1348554211.72.0.33204724136.issue16034@psf.upfronthosting.co.za>
Content
> Cool, looking forward to your patch =).

It will take some time to make a completed patch. I don't have much time *right* now. Wait for a few hours.

> Also, is there any chance you could provide a more detailed explanation of
> what's going on? This is just me being curious about how it all works
> under the hood...

When reading from the buffer bz2 does:

  result = buffer[:size]
  buffer = buffer[size:]  # copy a thousands bytes

zipfile does:

  result = buffer[offset:offset+size]
  offset += size  # buffer untouched
History
Date User Action Args
2012-09-25 07:37:53serhiy.storchakasetrecipients: + serhiy.storchaka, nadeem.vawda, victorhooi
2012-09-25 07:37:53serhiy.storchakalinkissue16034 messages
2012-09-25 07:37:53serhiy.storchakacreate