diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-05-02 16:46:22 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-05-04 13:47:50 +0200 |
| commit | c5f1b4e0f55fecf6c13f9a6fcdf6f0d44592171f (patch) | |
| tree | 3d61dca197a23c4673fc7f0d31dae3ffb683ec10 /ui.h | |
| parent | bab79b3bbdb95579ffc7e447bed3b00f2547505c (diff) | |
| download | vis-c5f1b4e0f55fecf6c13f9a6fcdf6f0d44592171f.tar.gz vis-c5f1b4e0f55fecf6c13f9a6fcdf6f0d44592171f.tar.xz | |
vis: enable large file optimizations for files with long lines
Diffstat (limited to 'ui.h')
| -rw-r--r-- | ui.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4,6 +4,11 @@ #include <stdbool.h> #include <stdarg.h> +/* enable large file optimization for files larger than: */ +#define UI_LARGE_FILE_SIZE (1 << 25) +/* enable large file optimization fo files containing lines longer than: */ +#define UI_LARGE_FILE_LINE_SIZE (1 << 16) + typedef struct Ui Ui; typedef struct UiWin UiWin; |
