Some minor performance improvements - most notably, don't search the

input state table if the next character matches the same state as before.
This commit is contained in:
nicm
2019-09-24 20:44:58 +00:00
parent e8adcae0f2
commit e3359f8349
4 changed files with 34 additions and 24 deletions

3
log.c
View File

@ -131,6 +131,9 @@ log_debug(const char *msg, ...)
{
va_list ap;
if (log_file == NULL)
return;
va_start(ap, msg);
log_vwrite(msg, ap);
va_end(ap);