URL:
<http://gna.org/patch/?6695>
Summary: ICU comparison string check lenient
Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 18 Dec 2015 11:36:00 AM EET
Category: general
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 3.0.0
_______________________________________________________
Details:
Assume that UTF-8 strings passed to string comparison functions are
well-formed, and do not check them, i.e., use faster u_strFromUTF8Lenient()
instead of u_strFromUTF8() to convert them.
This is still far from optimal for example when the same string is compared
against multiple other ones - for each comparison it gets converted separately
inside the comparison function. Improvements to that (new APIs) in future
tickets.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 18 Dec 2015 11:36:00 AM EET Name: LenientUTF8.patch Size: 1kB
By: cazfi
<http://gna.org/patch/download.php?file_id=26068>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?6695>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev