CF Bolz-Tereick on Nostr: Seems CPython is considering to switch to a utf-8 only representation for its Unicode ...
Seems CPython is considering to switch to a utf-8 only representation for its Unicode strings:
https://github.com/faster-cpython/ideas/issues/684(right now it's using an a 1, 2 or 4 bytes for each char in the whole string, depending on the largest code point in a string)
Published at
2024-06-17 14:47:42Event JSON
{
"id": "251fc7f43cbc8b7f7ccb396aae4d791beaf8fd7935739774717004d334707fa6",
"pubkey": "25b8723ef87e15c6006418eeb48533f36814c7525a397700eab8d2954f078453",
"created_at": 1718635662,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/@cfbolz/112632506758203511",
"web"
],
[
"proxy",
"https://mastodon.social/users/cfbolz/statuses/112632506758203511",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/cfbolz/statuses/112632506758203511",
"pink.momostr"
]
],
"content": "Seems CPython is considering to switch to a utf-8 only representation for its Unicode strings:\nhttps://github.com/faster-cpython/ideas/issues/684\n(right now it's using an a 1, 2 or 4 bytes for each char in the whole string, depending on the largest code point in a string)",
"sig": "567503b24b19d8702da3838da531938fdd2cc426ddb4d2a22b9b67bd352287512c56a6573eb099eb12c6fc906054bd36e618827714a65865c710988ae947b983"
}