From c5f1b4e0f55fecf6c13f9a6fcdf6f0d44592171f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 2 May 2016 16:46:22 +0200 Subject: vis: enable large file optimizations for files with long lines --- ui.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui.h') diff --git a/ui.h b/ui.h index d846deb..b08ff16 100644 --- a/ui.h +++ b/ui.h @@ -4,6 +4,11 @@ #include #include +/* 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; -- cgit v1.2.3