Avoid all string operations, much faster now but no unicode support.