summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Michael Ellerman <michael@ellerman.id.au>2007-05-30 14:47:09 +1000
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-06-08 02:37:18 -0700
commit225696af2ceaa2e06345954003eda742a76c4e0a (patch)
treef9f2b75869094f67d832cfd22377ed7f830f8e54 /t
parentgitview: Use new-style classes (diff)
downloadtgif-225696af2ceaa2e06345954003eda742a76c4e0a.tar.xz
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>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions