Commit Graph

10 Commits (feature/alt_lookup_engine)

Author SHA1 Message Date
nirenjan ef509eb796 Add new lookup engine for UTF-8 strings
This is on a separate branch because during performance testing, this
approach, using a fixed switch statement to determine the mapped entry,
performs much worse than the original lookup table method.

On Ubuntu 16.04, with gcc 5.4 and clang 3.8, the switch case took about
25% more time with clang, but almost 70% more time with gcc compared to
the lookup table.
2017-01-11 08:28:00 -08:00
nirenjan 8892b3ef7e util: Remove generated file from distribution tarball
util_char_map.c is generated at compile time by the Python script
x52_char_map_gen.py from the configuration x52_char_map.cfg. However,
because it was listed in libx52util_la_SOURCES, it was getting added to
the distribution.

In addition, removing it from the distribution caused `make distcheck`
to fail, since the generation script was called relative to the current
directory, instead of relative to `$(srcdir)`. This commit also fixes
that issue.
2016-12-29 14:01:38 -08:00
nirenjan 4532c0d868 Add codepoint translation status chart
This is intended to give the pending codepoints for translation at a
quick glance.
2016-10-08 17:33:19 -07:00
nirenjan ea2927859b Fix includedir location for headers 2016-05-16 22:15:19 -07:00
nirenjan 710ef00109 Add support for Python3 in parser script 2016-05-06 07:39:02 -07:00
nirenjan bc9001705d Convert character map generator to Python script
The conversion makes it simpler to allow cross-compilation, since we
should be using the host Python interpreter to build the generated
character map, rather than relying on the automake infrastructure.
2016-05-05 09:18:05 -07:00
nirenjan abaa36f35e Add math symbols to character map translation 2015-12-15 08:41:38 -08:00
nirenjan 367a367ff9 Add table walker to libx52util
This file walks the generated table to find the corresponding character
map values for the given UTF-8 string.
2015-12-10 09:56:15 -08:00
nirenjan 450cdbabee Add Latin and Greek characters 2015-12-09 07:13:00 -08:00
nirenjan c87e785a18 Restructure code layout
Copy files to individual folders. This makes it cleaner to add new
functionality in the future.
2015-12-08 21:46:42 -08:00