On 03/09/2021 11:07, David V Glasgow via use-livecode wrote:
Alex states that put textEncode(tWHoleText, "UTF8") into tWholeText speeds replace up, but David B says LC internal format is UTF16. Doesn’t the 8 vs 16 difference matter? Or matters less than other encodings?
I would regard that timing comparison with much suspicion. I was textEncoding() it inappropriately - I had just read it in from a file, so I *should* have been textDecoding() it. Therefore it is unclear whether the times I was seeing then are meaningful.
Alex. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode