From 96a1cc8e93d790ccaac8fb26418e25b00b1b2f74 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Tue, 30 Jan 2007 10:36:42 -0700 Subject: [PATCH] pyfec: documentation and licensing --- pyfec/COPYING | 7 +++++++ pyfec/README.txt | 29 +++++++++++++++++++++++------ 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/pyfec/COPYING b/pyfec/COPYING index d511905c..b9f367d1 100644 --- a/pyfec/COPYING +++ b/pyfec/COPYING @@ -1,3 +1,10 @@ +In addition to the terms of the GNU General Public License, the pyfec package +also comes with a special added permission that if you are obligated to release +a derived work under this licence as per section 2.b, you may delay the +fulfillment of this obligation for up to 12 months. + + + GNU GENERAL PUBLIC LICENSE Version 2, June 1991 diff --git a/pyfec/README.txt b/pyfec/README.txt index 97a5ce1a..4bc34efd 100644 --- a/pyfec/README.txt +++ b/pyfec/README.txt @@ -1,8 +1,10 @@ - * Intro + * Intro and Licence This package implements an "erasure code", or "forward error correction code". -It is licensed under the GNU General Public License (see the COPYING file for -details). +It is offered under the GNU General Public License v2 or (at your option) any +later version, with the added permission that, in the case that you are +obligated to release a derived work under this licence (as per section 2.b of +the GPL), you may delay the fulfillment of this obligation for up to 12 months. The most widely known example of an erasure code is the RAID-5 algorithm which makes it so that in the event of the loss of any one hard drive, the stored @@ -124,6 +126,24 @@ See also the filefec.py module which has a utility function for efficiently reading a file and encoding it piece by piece. + * Dependencies + +A C compiler is required. For the Python API, Python version 2.5 is required. + + + * Performance Measurements + +On Peter's fancy Intel Mac laptop (Core Duo 2?), it encoded from a file at +about 6.2 million bytes per second. + +On my old PowerPC G4 867 MHz Mac laptop, it encoded from a file at about 1.3 +million bytes per second. + +On my Athlon 64 2.4 GHz workstation (running Linux), it encoded from a file at +about 3.7 million bytes per second and decoded at about 5.5 million bytes per +second. + + Enjoy! Zooko Wilcox-O'Hearn @@ -131,6 +151,3 @@ Zooko Wilcox-O'Hearn San Francisco -On Peter's fancy Intel Mac laptop, it did about 6.21 million bytes per second from file. -On my old PowerPC G4 Mac laptop, it did around 1.3 million bytes per second from file. - -- 2.45.2