commit | 1501b3fbbdf405aae7dc996a60bd22a49c884110 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Thu Aug 20 19:14:42 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Thu Aug 20 19:14:42 2009 +0000 |
tree | 9031656cc31c7b68ef378ea28b923ceca4833f56 | |
parent | 234ad54b2c7b1b1b9a78d3ecc20d29c12dd2f107 [diff] |
A few trivial optimisations: no need to check for zero size if calling buffer_ensure in buffer.c; expand grid lines by a greater increase than one each time; and don't read UTF-8 data unless it actually needs to be checked when overwriting a cell.