[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Compressed streams

From: Eric Dorland <eric.dorland_at_mail.mcgill.ca>
Date: 2003-03-27 08:36:04 CET

Hi everyone,

I was working on getting compressed text base support into svn, and I
thought a good first step would be to add compressed stream
support. So this patch adds a single function, svn_stream_compressed,
that wraps around an existing stream and compresses/decompresses all
the data read and written to it.

I understand that there's a feature freeze right now, but this code
doesn't really touch any other code, and is by default is disabled. To
enable it you need to pass a new --with-zlib switch to
./configure. There's also a test inside to exercise the code.

I think this code could be useful above and beyond my pet project of
compressing text-base. BTW, is there any chance of that sort of code
getting in before 1.0?

-- 
Eric Dorland <eric.dorland@mail.mcgill.ca>
ICQ: #61138586, Jabber: hooty@jabber.com
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ 
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ 
G e h! r- y+ 
------END GEEK CODE BLOCK------

  • application/pgp-signature attachment: stored
Received on Thu Mar 27 08:36:59 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.