Re: [PATCH 0/3] gitk: memory consumption improvements

2016-12-12 Thread Paul Mackerras
On Mon, Nov 07, 2016 at 07:54:28PM +0100, Markus Hitter wrote: > > List, Paul, > > after searching for a while on why Gitk sometimes consumes exorbitant amounts > of memory I found a pair of minor issues and also a big one: the text widget > comes with an unlimited undo manager, which is turned

Re: [PATCH 0/3] gitk: memory consumption improvements

2016-11-09 Thread Junio C Hamano
Markus Hitter writes: > Am 08.11.2016 um 22:37 schrieb Junio C Hamano: >> Are all semi-modern Tcl/Tk in service have this -undo thing so that >> we can pass unconditionally to the text widget like the patch does? > > Good point. As far as my research goes, this flag was introduced in Nov. 2001: >

Re: [PATCH 0/3] gitk: memory consumption improvements

2016-11-09 Thread Markus Hitter
Am 08.11.2016 um 22:37 schrieb Junio C Hamano: > Are all semi-modern Tcl/Tk in service have this -undo thing so that > we can pass unconditionally to the text widget like the patch does? Good point. As far as my research goes, this flag was introduced in Nov. 2001: http://core.tcl.tk/tk/info/5265

Re: [PATCH 0/3] gitk: memory consumption improvements

2016-11-08 Thread Junio C Hamano
Markus Hitter writes: > List, Paul, > > after searching for a while on why Gitk sometimes consumes > exorbitant amounts of memory I found a pair of minor issues and > also a big one: the text widget comes with an unlimited undo > manager, which is turned on be default. Considering that each line

[PATCH 0/3] gitk: memory consumption improvements

2016-11-07 Thread Markus Hitter
List, Paul, after searching for a while on why Gitk sometimes consumes exorbitant amounts of memory I found a pair of minor issues and also a big one: the text widget comes with an unlimited undo manager, which is turned on be default. Considering that each line is inserted seperately, this pi