Browse Source
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>maint
Michael Ellerman
18 years ago
committed by
Junio C Hamano
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue