Re: [PATCH][RFC] Add git-archive-tree
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 2, 2006, 21:27 UTC
- Message-ID
- <7vwt8mx8lb.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <44F977C0.4060901@lsrfire.ath.cx>
Rene Scharfe <rene.scharfe@lsrfire.ath.cx> writes:
> Currently git-archive-tree -f tar is slower than git-tar-tree. This is > because it is welded to the side of the existing code to minimize patch > size, and I also suspect read_tree_recursive() to be quite a bit slower > than builtin-tar-tree.c::traverse_tree().
Yes, I suspect "struct object" and friends are very inefficient to use for things like this. "struct tree_desc" based traverser is much preferred.
-- VGER BF report: U 0.772588