Cut memory consumption by only allocating lines when there is actually data on them, and only as much as the right-most data. Everything else is filled in at runtime.

This commit is contained in:
Nicholas Marriott
2007-11-21 22:20:44 +00:00
parent 1e5cb8d2e4
commit c64cf68244
5 changed files with 123 additions and 68 deletions

View File

@ -1,5 +1,7 @@
21 November 2007
* Create every line as zero length and only expand it as data is written,
rather than creating at full size immediately.
* Make command output (eg list-keys) go to a scrollable window similar to
scroll mode.
* Redo screen redrawing so it is a) readable b) split into utility functions
@ -247,4 +249,4 @@
(including mutt, emacs). No status bar yet and no key remapping or other
customisation.
$Id: CHANGES,v 1.79 2007-11-21 19:44:04 nicm Exp $
$Id: CHANGES,v 1.80 2007-11-21 22:20:44 nicm Exp $