1
0
mirror of https://github.com/git/git.git synced 2024-11-20 17:55:52 +01:00
git/contrib/gitview
Michael Ellerman 225696af2c gitview: Define __slots__ for Commit
Define __slots__ for the Commit class. This reserves space in each Commit
object for only the defined variables. On my system this reduces heap usage
when viewing a kernel repo by 12% ~= 55868 KB.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2007-06-08 02:37:18 -07:00
..
gitview gitview: Define __slots__ for Commit 2007-06-08 02:37:18 -07:00
gitview.txt