lazarus/components/lazutils
bart 77e5428b3f LazUtf8: firts attempt to rewrite Utf8CompareStr and Utf8CompareText so that it's results will be more consistent with
AnsiCompareStr/WideCompareStr and AnsiCompareTex/WideCompareText.
(
The old implementation was in effect a copy of CompareStr and, this made the claim about proper collation in
Utf8CompareText (which uses Utf8CompareStr) rather ludicrous.
The new implementaion is slower, mainly becaus of the fact we cannot use CompareMemrange/CompareByte anymore,
and we have to iterate the bytes ourselves. This fact alone contributes much more to the loss in speed than
the fact we use WideCompareStr on the 2 differing codepoints:
- iterating in a for loop: adss a factor of appr. 10 to the time needed
- using the final WideCompareStr adds a factor of about 1.6 to the time meeded.
Because of the slowdown in speed in Utf8CompareStr, Utf8CompareText now calls WideCompareText directly, which is
now appr. the same speed as converting to lowercase and then calling Utf8CompareStr
)

git-svn-id: trunk@51977 -
2016-03-17 11:38:56 +00:00
..
examples/LookupStringList LazUtils: Use LookupStringList in LazUtils package. Remove old DictionaryStringList files. 2015-07-07 12:10:35 +00:00
languages
test
asiancodepagefunctions.inc LazUtils: 2015-11-24 16:23:18 +00:00
asiancodepages.inc LazUtils: Less notes from compiler about Asian codepages. 2015-10-16 21:48:15 +00:00
avglvltree.pas
easylazfreetype.pas LazUtils: Finalize FreeTypeFont instance only when needed. Issue #29151, patch from Andrey Zubarev. 2015-12-08 19:56:21 +00:00
fileutil.inc LazUtils: disable the wrapper functions in FileUtil by default. The wrapper functions will be removed later on. 2016-03-06 13:19:23 +00:00
fileutil.pas LazUtils: disable the wrapper functions in FileUtil by default. The wrapper functions will be removed later on. 2016-03-06 13:19:23 +00:00
fpcadds.pas LazUtils: 2015-11-24 16:23:18 +00:00
fpmake.pp LazUtils: Use LookupStringList in LazUtils package. Remove old DictionaryStringList files. 2015-07-07 12:10:35 +00:00
FTL.TXT
laz2_dom.pas
laz2_names.inc
laz2_xmlcfg.pas IDE, AnchorDocking: Support desktops also with docked IDE. Move configuration to environment options. By Ondrej Pokorny. 2015-09-07 22:01:22 +00:00
laz2_xmlread.pas
laz2_xmlutils.pas
laz2_xmlwrite.pas
laz2_xpath.pas
laz_dom.pas
laz_xmlcfg.pas
laz_xmlread.pas
laz_xmlstreaming.pas LazUtils: Prevent "Abstract method called" for TXMLObjectWriter / TXMLObjectReader also with FPC 3.0.0. Issue #27817. 2015-08-26 09:29:52 +00:00
laz_xmlwrite.pas
lazclasses.pas
lazcollections.pas * Added TLazThreadedQueue.PopItemTimeout to be able to specify different timeout then the default 2016-01-10 15:45:53 +00:00
lazconfigstorage.pas
lazdbglog.pas
lazfglhash.pas
lazfilecache.pas LazUtils: Suppress some hints when compiling LazUtils. Issue #27961. 2015-12-27 15:04:41 +00:00
lazfileutils.inc
lazfileutils.pas lazfileutils: added windows function SHGetFolderPathUTF8 2016-03-09 13:15:53 +00:00
lazfreetype.pas
lazfreetypefontcollection.pas
lazfreetypefpimagedrawer.pas
lazlistclasses.pas LazUtils: Suppress some hints when compiling LazUtils. Issue #27961. 2015-12-27 15:04:41 +00:00
lazlogger.pas LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus. 2015-07-04 23:08:00 +00:00
lazloggerbase.pas LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus. 2015-07-04 23:08:00 +00:00
lazloggerdummy.pas
LazLoggerImpl.inc
LazLoggerIntf.inc
lazloggerprofiling.pas
lazmethodlist.pas
lazutf8.pas LazUtf8: firts attempt to rewrite Utf8CompareStr and Utf8CompareText so that it's results will be more consistent with 2016-03-17 11:38:56 +00:00
lazutf8classes.pas
lazutf8sysutils.pas codetools, lazutils, win32: less hints 2015-12-15 16:27:39 +00:00
lazutf16.pas LazUtils: implement Utf16StringReplace. 2015-12-16 16:55:05 +00:00
lazutilities.pas
lazutils_defines.inc LazUtils: add lazutils_defines.inc, forgotten in r50498 #0c8df133dd. 2015-11-24 16:24:54 +00:00
lazutils.lpk LazUtils: 2015-11-24 16:23:18 +00:00
lazutils.pas components: less hints 2016-03-01 15:26:12 +00:00
lazutilsstrconsts.pas
lconvencoding.pas LazUtils: 2015-11-24 16:23:18 +00:00
lcsvutils.pas lazutils: LoadFromCSVStream: fixed reading UTF16 2015-11-12 14:30:42 +00:00
lookupstringlist.pas LazUtils: Rename DictionaryStringList -> LookupStringList. Add the renamed files as new. 2015-07-07 12:05:03 +00:00
Makefile IDE+lazbuild+makefiles: on darwin use -gw instead of -g 2015-10-01 18:40:54 +00:00
Makefile.compiled
Makefile.fpc IDE+lazbuild+makefiles: on darwin use -gw instead of -g 2015-10-01 18:40:54 +00:00
masks.pas
paswstring.pas LazUtils: 2015-11-24 16:23:18 +00:00
ttcache.pas
ttcalc1.inc
ttcalc2.inc
ttcalc3.inc
ttcalc4.inc
ttcalc.pas
ttcmap.pas
ttconfig.inc
ttdebug.pas
tterror.pas
ttfile.pas
ttgload.pas
ttinterp.pas
ttload.pas
ttmemory.pas
ttobjs.pas
ttprofile.pas
ttraster_sweep.inc
ttraster.pas
tttables.pas
tttypes.pas
unixfileutil.inc
unixlazfileutils.inc
unixlazutf8.inc lazutils: fixed compilation under Windows 2015-12-09 23:35:07 +00:00
utf8process.pp lazutils: fixed TProcessUTF8 ancestor 2015-12-05 18:51:23 +00:00
winfileutil.inc codetools, lazutils, win32: less hints 2015-12-15 16:27:39 +00:00
winlazfileutils.inc lazfileutils: added windows function SHGetFolderPathUTF8 2016-03-09 13:15:53 +00:00
winlazutf8.inc LazUtils: fix compilation for WinCE. 2015-12-24 18:08:42 +00:00