lib/ucs2_string: Speed up ucs2_utf8size()
No need to calculate the string length on every loop iteration. Signed-off-by: NLukas Wunner <lukas@wunner.de> Cc: Peter Jones <pjones@redhat.com> Signed-off-by: NMatt Fleming <matt@codeblueprint.co.uk>
Showing
想要评论请 注册 或 登录