From 33fa178eeb7bf519f5fff118ebc8e27e76098363 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 22 Oct 2009 11:04:30 +0200 Subject: added Object.data_stream property allowing to stream object data directly.Considering the implementation of the git commnd which temporarily keeps it in a cache, it doesnt make a huge diffence as the data is kept in memory while streaming. Only good thing is that it is in a different process so python will never see it if done properly --- TODO | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'TODO') diff --git a/TODO b/TODO index 03179467..f1b49a0c 100644 --- a/TODO +++ b/TODO @@ -15,6 +15,18 @@ General * References should be parsed 'manually' to get around command invocation, but be sure to be able to read packed refs. +Object +------ +* DataStream method should read the data itself. This would be easy once you have + the actul loose object, but will be hard if it is in a pack. In a distant future, + we might be able to do that or at least implement direct object reading for loose + objects ( to safe a command call ). Currently object information comes from + persistent commands anyway, so the penalty is not that high. The data_stream + though is not based on persistent commands. + It would be good to improve things there as cat-file keeps all the data in a buffer + before it writes it. Hence it does not write to a stream directly, which can be + bad if files are large, say 1GB :). + Config ------ * Expand .get* methods of GitConfigParser to support default value. If it is not None, -- cgit v1.2.1