Performance improvements to mlintlib.lex (now a class)