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

Re: Compressed Pristines (Summary)

From: Greg Stein <gstein_at_gmail.com>
Date: Wed, 4 Apr 2012 15:54:31 -0400

On Apr 4, 2012 3:26 PM, "Ashod Nakashian" <ashodnakashian_at_yahoo.com> wrote:
>
>
>
>
> >________________________________
> > From: Daniel Shahaf <danielsh_at_elego.de>
>....
> >>
> >
> >But one _could_ write a filesystem that implements compression and/or
> >deduplication aimed at .svn/pristine/'s workflow. Should effort be
> >spent there rather than on implementing a smarter svn_wc__pristine_*()?
>
> Perhaps we should, but is that a
simpler/easier/more-maintainable/first-try approach that we can defend with
a straight face? I'm having a hard time doing that in my current mode.
>
> >
> >Daniel
> >(devil's advocate mode)

Given Daniel's devil's advocate position, I say just ignore him. Don't feed
him :-)

My vote is compress for files > N bytes (and store on disk), and stick the
others into a new pristine.db. Maybe compress before inserting into Sqlite.
Not sure. Add a few heuristics for skipping compression on certain files
types.

Shouldn't be too bad to start with that.

Cheers,
-g
Received on 2012-04-04 21:55:04 CEST

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.