Post Reply 
utf-8 for RPL source code
04-24-2015, 01:42 PM
Post: #13
RE: utf-8 for RPL source code
(04-21-2015 02:06 PM)Claudio L. Wrote:  Now it's time to tackle the fourth property: decompositions.
...
Time to analyze the patterns to see how to encode this for faster access without increasing the 20k too much.
I'll report back with my findings.

Back on topic, similar analysis by ranges revealed that the singletons can be compacted in 4948 bytes, while the doubles need approx. 18 kbytes to be processed with reasonable speed.
While these tables are efficient for decomposition, they won't help with the inverse process, so an additional table is needed for composition. The additional table is expected to require other 12 kbytes.

This brings the total to about 35 kbytes in tables, plus the space taken by the code.
The penalty in speed is not negligible by any means, but we'll have to live with it.
NFC normalization is only intended to be used when importing Unicode text from external sources (SD card/Serial IO). After that, all text will be assumed to be NFC normalized.

End-of-topic.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
utf-8 for RPL source code - Claudio L. - 04-07-2015, 01:06 AM
RE: utf-8 for RPL source code - Claudio L. - 04-07-2015, 01:33 PM
RE: utf-8 for RPL source code - Claudio L. - 04-17-2015, 01:04 PM
RE: utf-8 for RPL source code - Claudio L. - 04-21-2015, 02:06 PM
RE: utf-8 for RPL source code - Claudio L. - 04-24-2015 01:42 PM
RE: utf-8 for RPL source code - Helix - 04-22-2015, 01:06 AM
RE: utf-8 for RPL source code - Claudio L. - 04-22-2015, 02:08 AM
RE: utf-8 for RPL source code - Helix - 04-22-2015, 10:40 PM
RE: utf-8 for RPL source code - Claudio L. - 04-23-2015, 01:10 PM
RE: utf-8 for RPL source code - Claudio L. - 04-23-2015, 03:52 PM
RE: utf-8 for RPL source code - Helix - 04-23-2015, 11:00 PM
RE: utf-8 for RPL source code - Claudio L. - 04-24-2015, 01:06 PM



User(s) browsing this thread: 1 Guest(s)