|
From: | Yaroslav Tsarko |
Subject: | Re: [Chicken-hackers] CR #1142 and upcoming changes |
Date: | Wed, 20 Aug 2014 11:59:58 +0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
On 19.08.2014 19:24, Felix Winkelmann wrote:
Sounds like a good first step, even though I personally would prefer UCS-4 strings (constant lookup + modification and so on). But that seems to be unpopular, AFAICT...
Wouldn`t that be possible to specify which internal string encoding is used by the core as a CHICKEN build-time option? For embedded systems with limited resources that will give a decent leverage to choose from - either consume more memory but more fast lookups etc (in the case of UCS-4) or consume less memory by the cost of UTF-8 conversions on the fly during string operations.
-- Thanks, Yaroslav
[Prev in Thread] | Current Thread | [Next in Thread] |