Re: If you would write git from scratch now, what would you change?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dana How <danahow@...>
Cc: Jakub Narebski <jnareb@...>, <git@...>
Date: Monday, November 26, 2007 - 3:52 pm

On Mon, 26 Nov 2007, Dana How wrote:


I don't see why you would need the pack->blob copy normally.


Then you can do just that for big enough blobs where "big enough" is 
configurable: encapsulate them in a pack instead of a loose object.  
Problem solved.  Sure you'll end up with a bunch of packs containing 
only one blob object, but given that those blobs are so large to be a 
problem in your work flow when written out as loose objects, then they 
certainly must be few enough not to cause an explosion in the number of 
packs.


They already don't.


I currently count 2 calls to zlib, not 3.  And with big blobs as packs, 
as suggested above then you'd have only one call when actually staging 
their content.  This should be really straight forward to implement 
given that pack-objects is already a built-in.


Nicolas
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
C# binding, was Re: If you would write git from scratch now,..., Johannes Schindelin, (Tue Nov 27, 7:47 am)
Re: If you would write git from scratch now, what would you ..., Nicolas Pitre, (Mon Nov 26, 3:52 pm)
Re: If you would write git from scratch now, what would you ..., Andreas Ericsson, (Tue Nov 27, 10:11 am)
Re: If you would write git from scratch now, what would you ..., Johannes Schindelin, (Mon Nov 26, 5:27 pm)
Re: If you would write git from scratch now, what would you ..., Johannes Schindelin, (Mon Nov 26, 5:40 pm)