From 51bbf779ba2c9d5954e2c9470a8eae7c1ddd38a5 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 7 Jun 2022 13:47:35 +0100 Subject: Switch from using (E)GL to wl_shm. eglInitialize() is slow (~50-100ms), and uses a fair amount of memory (~100 MB). For such a small, simple program that just wants to launch as quickly as possible, wl_shm performs better. --- src/string_vec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/string_vec.c') diff --git a/src/string_vec.c b/src/string_vec.c index 3c77f6f..0bcd7f2 100644 --- a/src/string_vec.c +++ b/src/string_vec.c @@ -23,7 +23,7 @@ static int cmpstringp(const void *restrict a, const void *restrict b) if (str2 == NULL) { return -1; } - return strcasecmp(str1, str2); + return strcmp(str1, str2); } struct string_vec string_vec_create(void) -- cgit v1.2.3