commit | cf289cefbfde519bbc179a86cdc5e8cc91a0a08d | [log] [tgz] |
---|---|---|
author | Lukas Wunner <lukas@wunner.de> | Wed Aug 03 10:16:02 2016 +0200 |
committer | Matt Fleming <matt@codeblueprint.co.uk> | Fri Sep 09 16:08:46 2016 +0100 |
tree | afcdd2877f334ee47aa14f426c64cdd8369a1e3b | |
parent | d520dd1f348dcaafcb8ce804b2a5ebb1be004719 [diff] |
lib/ucs2_string: Speed up ucs2_utf8size() No need to calculate the string length on every loop iteration. Signed-off-by: Lukas Wunner <lukas@wunner.de> Cc: Peter Jones <pjones@redhat.com> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>