tesseract/ccutil
Stefan Weil 94be4be4be ccutil/ambigs: Optimize tesseract::UnicharIdArrayUtils::compare
The compare method is called very often, so even small improvements
are important.

The new code avoids one comparison in each loop iteration.
This results in smaller code (60 bytes for x86_64, gcc).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-11-12 19:21:57 +01:00
..
ambigs.cpp Fix Cygwin compatibility 2016-06-17 15:52:01 +03:00
ambigs.h ccutil/ambigs: Optimize tesseract::UnicharIdArrayUtils::compare 2016-11-12 19:21:57 +01:00
basedir.cpp remove unused code (Windows related) 2013-07-08 18:21:10 +00:00
basedir.h Fixed relative-to-executable tessdata location, while allowing for addition of terminating / 2012-10-09 00:41:08 +00:00
bits16.cpp remove unused code (Windows related) 2013-07-08 18:21:10 +00:00
bits16.h Fixed name collision with jpeg library 2008-04-22 00:23:41 +00:00
bitvector.cpp Fixed a lot of compiler/clang warnings 2014-01-25 02:28:51 +00:00
bitvector.h Fixed a lot of compiler/clang warnings 2014-01-25 02:28:51 +00:00
ccutil.cpp + fix VS2008 warning about "non dll-interface class tesseract::LTRResultIterator used as base for dll-interface class tesseract::ResultIterator" by making LTRResultIterator also visible. 2012-03-08 21:15:13 +00:00
ccutil.h + fix VS2008 warning about "non dll-interface class tesseract::LTRResultIterator used as base for dll-interface class tesseract::ResultIterator" by making LTRResultIterator also visible. 2012-03-08 21:15:13 +00:00
clst.cpp Remove checks for this == NULL 2015-11-07 13:09:53 +01:00
clst.h Remove checks for this == NULL 2015-11-07 13:09:53 +01:00
doubleptr.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
elst2.cpp Remove checks for this == NULL 2015-11-07 13:09:53 +01:00
elst2.h Remove checks for this == NULL 2015-11-07 13:09:53 +01:00
elst.cpp Remove checks for this == NULL 2015-11-07 13:09:53 +01:00
elst.h Remove checks for this == NULL 2015-11-07 13:09:53 +01:00
errcode.cpp remove unused code (Windows related) 2013-07-08 18:21:10 +00:00
errcode.h ccutil: Fix and simplify implementation of variadic macro 2016-08-29 08:15:00 +02:00
fileerr.h top-skimming import from sf.net 2007-03-07 20:03:40 +00:00
genericheap.h Fixed issue 1056 2014-01-10 17:24:07 +00:00
genericvector.h Fix compiler warnings for copy constructors 2015-11-05 09:19:37 +01:00
globaloc.cpp Turned on pdfrenderer functionality that needs leptonica 1.70 2014-01-23 23:01:10 +00:00
globaloc.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
hashfn.h fix to compile tesseract on mac with clang 2015-05-18 09:59:10 +01:00
helpers.h Merge pull request #65 from ws233/master 2015-10-28 20:02:20 +01:00
host.h Remove unneeded definition for NULL 2015-12-25 12:25:54 +01:00
indexmapbidi.cpp Remaining misc changes for 3.02 2012-02-02 03:14:43 +00:00
indexmapbidi.h Remaining misc changes for 3.02 2012-02-02 03:14:43 +00:00
kdpair.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
lsterr.h ccutil: Fix typos in comments and strings 2015-09-14 22:09:18 +02:00
mainblk.cpp Get tessdata prefix from executable path (only for Windows) 2015-12-11 10:06:21 +01:00
Makefile.am remove empty header file secname.h 2015-07-31 17:32:54 +02:00
memry.cpp remove unused code (Windows related) 2013-07-08 18:21:10 +00:00
memry.h Removed dead memory mangagement code 2012-02-02 02:51:56 +00:00
ndminx.h Harmless improvements from 3.00 going in to 2.04 2008-12-30 18:20:15 +00:00
nwmain.h remove unused code (Windows related) 2013-07-08 18:21:10 +00:00
object_cache.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
ocrclass.h Add info for progress monitor, make it visible in doxygen doc; remove commented code 2016-01-05 17:21:53 +01:00
params.cpp ccutils/params: Fix memory leak for static variable global_params 2016-10-24 20:20:24 +02:00
params.h Made params more like Google flags 2014-01-09 17:24:06 +00:00
platform.h Fix cygwin build. 2015-09-07 02:49:18 +03:00
qrsequence.h 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process 2010-11-23 18:34:14 +00:00
scanutils.cpp Remove conditional definition of off_t 2016-04-13 15:15:56 -04:00
scanutils.h Applied patch to refix issue 331 2014-04-23 23:12:53 +00:00
serialis.cpp Fixed issue 1302 2014-10-07 09:25:53 -07:00
serialis.h Started TFile conversion to remove fmemopen 2014-08-11 23:09:25 +00:00
sorthelper.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
stderr.h top-skimming import from sf.net 2007-03-07 20:03:40 +00:00
strngs.cpp Fix for constant kMaxDoubleSize (from 15 to 16), 2016-05-25 16:26:41 +02:00
strngs.h Started TFile conversion to remove fmemopen 2014-08-11 23:09:25 +00:00
tesscallback.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
tessdatamanager.cpp ccutil/tessdatamanager: Fix resource leak 2016-10-24 16:00:57 +02:00
tessdatamanager.h ccutil: Fix typos in comments and strings 2015-09-14 22:09:18 +02:00
tprintf.cpp Moved -v to training 2014-01-09 17:25:12 +00:00
tprintf.h Moved -v to training 2014-01-09 17:25:12 +00:00
unichar.cpp Improved newlines and spaces in a box file so it works better with RTL languages. 2015-05-12 17:51:03 -07:00
unichar.h Improved newlines and spaces in a box file so it works better with RTL languages. 2015-05-12 17:51:03 -07:00
unicharmap.cpp Fixed issue 736 2012-09-21 15:19:44 +00:00
unicharmap.h Harmless improvements from 3.00 going in to 2.04 2008-12-30 18:20:15 +00:00
unicharset.cpp Remove unneeded const qualifiers 2015-11-05 06:36:42 +01:00
unicharset.h Remove unneeded const qualifiers 2015-11-05 06:36:42 +01:00
unicity_table.h Remaining misc changes for 3.02 2012-02-02 03:14:43 +00:00
unicodes.cpp Remaining misc changes for 3.02 2012-02-02 03:14:43 +00:00
unicodes.h Doxygen 2015-07-20 18:48:00 +01:00
universalambigs.cpp Misc fixes, mostly clang formatting, but some bug fixes in matrix, werd, and tesstrain_utils. Also updates unicharset to match traineddata files. 2015-07-09 14:28:20 -07:00
universalambigs.h Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00