Commit Graph

10 Commits

Author SHA1 Message Date
ljy9810 c8c786d4fc 升级到0.1.14
Signed-off-by: ljy9810 <longjianyin@h-partners.com>
2025-09-01 16:59:18 +08:00
Mateo Guynn 1325a21ca3 Use static tables
Using `static` instead of `const` reduces the size of output binaries, .rlib, and .rmeta.
2022-07-23 15:40:46 -07:00
Mateo Guynn 5a9b8f3bd0 Switch from binary search to lookup tables 2022-06-09 18:46:46 -07:00
Pyfisch 8276b8fffc Update to Unicode 13
Change version fields to u8 as the maximum value
of each field is 255 according to specification.
2020-04-13 11:33:44 +02:00
Christian Duerr ab243ec183 Update to unicode 12.1
This updates the tables.rs file to be compatible with the latest
available unicode standard, allowing for new glyphs like the yawning
face to be recognized properly.

The unicode.py script has also been updated to python3, since that
should be supported on more systems.
2019-12-05 10:41:59 +01:00
kwantam 96eaa4a881 update to Unicode 9 ; clean up no_std and related 2016-12-23 15:43:58 -08:00
kwantam cbad406d03 add benchmarks ; add explicit #[inline] annotations
This diff adds benchmarks to get more info regarding Issue #1.

It appears that the remaining difference between the "simple"
case and the "cargo" case is the result of a difference in
performance between using `match` and `if` for tight loops.

I suspect it's because of the way that match arms get reordered:
if I manually reorder the "if" statement, I can reproduce the
match performance.

Also added a couple #[inline] annotations in tables.rs, though
the difference in performance in my measurements is negligible.

Bumped version number to 0.1.1.
2015-04-19 00:02:03 -04:00
kwantam ab525e6616 make no_std a feature to allow builds in beta; bump version 2015-04-15 17:56:43 -04:00
kwantam 4c51fb1466 slight doc touch 2015-04-15 16:00:36 -04:00
kwantam c89e9d94cc add tablegen script and table 2015-04-13 20:08:04 -04:00